[Qt-interest] Splitting library?
BRM
bm_witness at yahoo.com
Thu Feb 11 15:31:57 CET 2010
From: Ross Driedger <ross at earz.ca>
>On 10-Feb-10, at 1:49 PM, qt-interest-request at trolltech.com wrote:
>Well, yes, it is a linking error - but still it is an error, and i would
>>like to know how to fix it.On a command line level, this will depend on what compiler/liner you are using.
> LIBS += ../../lib/macx/libmylib.a
GCC/G++ Uses:
-L<path> -l<libname>
where <libname> is the name of the library without the 'lib' prefect or any suffix. I believe this is for both dynamic and static libraries.
Note: the path parameters uses the uppercase L while the library parameter uses the lowercase L.
For static libraries, Windows uses:
/LIBPATH:<path> libMyLib.lib
Ben
More information about the Qt-interest-old
mailing list