[Qt-interest] application.pro : linking extra libraries
Davide
davide83 at gmail.com
Thu Mar 12 18:21:17 CET 2009
On Wed, Mar 11, 2009 at 2:55 PM, Miguel Cardenas <mfcardenas at gmail.com> wrote:
> One question, if I want to link extra libraries to my Qt application do they
> have to be available in the PATH (like when executing the program) or should
> add the path to a variable in the .PRO configuration?
This work for me in both win and Linux:
In .PRO add:
LIBS += -L'path/to/lib' \
-lfdw32 \
-lfdlnx
libraries are libfdlnx.a for Linux and libfdw32.a for Windows.
--
Davide Ghezzi
PGP Key: http://www.newbugs.it/gpgkeys/davide83.asc
Fingerprint: 68A7 4090 22F7 B083 88A8 4F19 C2BB EE88 7E0E 9A9F
Homepage: http://www.newbugs.it
More information about the Qt-interest-old
mailing list