qt-interest@trolltech.com
[Top] [All Lists]

Re: QMAKE_LFLAGS += /FORCE with MinGW

Subject: Re: QMAKE_LFLAGS += /FORCE with MinGW
From: Christopher Thompson
Date: Tue, 1 Feb 2005 09:59:57 -0700
On February 1, 2005 09:44 am, Gael Martin wrote:
> Hi, sorry if this is obvious but I have a pro file with the following line:
> win32:QMAKE_LFLAGS    += /FORCE
>
> It compiles fine if I use MSVC++ but as soon as I switch to MinGW/G++ I
> get the following error when linking:
>
> g++: /FORCE: No such file or directory
>
> If I remove the /FORCE switch to the linker then I get more error
> complaining about multiple definition etc...
>
> Anyone knows the equivalent of /FORCE for g++?

I _think_ the equivalent is to fix your link step so that it does not link 
object files with multiple definitions.  Where are your duplicates coming 
from, and why?

--
List archive and information: http://lists.trolltech.com/qt-interest/

<Prev in Thread] Current Thread [Next in Thread>