[Qt-interest] Adding a library to my project
Parker
userqt at gmail.com
Wed May 27 14:21:06 CEST 2009
Hm, it's not working. Here is my lib :
It's created with QT Creator.
workspace\MyProject\libs\myLib.a
and in my .pro file I'm using
LIBS += -L../libs -lmyLib.a
I also tried
LIBS += -L../libs -lmyLib
but no success :(
----- Original Message -----
From: Miroslav Karpis
To: qt-interest at trolltech.com
Sent: Wednesday, May 27, 2009 2:57 PM
Subject: Re: [Qt-interest] Adding a library to my project
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
__________ 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
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4098 (20090522) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4098 (20090522) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090527/f2d90fb6/attachment.html
More information about the Qt-interest-old
mailing list