[Qt-interest] Adding a library to my project
Miroslav Karpis
miroslav at keytos.no
Wed May 27 13:57:35 CEST 2009
Hi,
I use it like following:
LIBS += -L../ext/lib \
-ltest
But I guess that also this should work:
LIBS += -L../ext/lib -ltest
Regards,
Miro
On Wed, 2009-05-27 at 14:46 +0300, Parker wrote:
> Hello,
> I'm using Windows XP and I'm trying to add a library to my project.
> The library is in workspace\MyProject\libraryFolder\debug\libtest.a .
>
> How do I haev to set the LIBS in my .pro file so that I don't need to
> specify the full path (o.e. D:\Documents and Settings\Secret\Desktop
> \workspace\....)
>
> Something like that maybe ?
> LIBS += -LlibraryFolder\debug -llibtest
>
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature database 4098 (20090522) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090527/4fbc7f20/attachment.html
More information about the Qt-interest-old
mailing list