mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] Question about gcc behaviour


From: Mark Brand
Subject: Re: [Mingw-cross-env-list] Question about gcc behaviour
Date: Mon, 26 Apr 2010 09:55:58 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.2pre) Gecko/20100308 SUSE/3.1b1-6.3 Thunderbird/3.1b1


The shared libraries follow the
pattern of "libQtCore4.a", and require flags like "-lQtCore4". If you
use qmake, the right "-l" flags will be in your generated makefiles.
Well, in my case (I just checked), when shared libs are used for Linux build,
I have these options:

g++ -Wl,-O1 -Wl,-rpath,/usr/lib64/qt4 -o build/APP *.o    -L/usr/lib64/qt4
-lQtGui -L/usr/lib64 -L/usr/lib64/qt4 -L/usr/X11R6/lib -lQtCore

+ some others...

Sorry, I should have been clearer on the part. That bit applies to MinGW only. This is, by the way, not specific to mingw-cross-env. You'll also see those names in the binary SDK distributed by Nokia.

-Mark




reply via email to

[Prev in Thread] Current Thread [Next in Thread]