[Qt-interest] Adding a library to my project
Andre Haupt
andre at bitwigglers.org
Wed May 27 10:27:24 CEST 2009
On Wed, May 27, 2009 at 03:21:06PM +0300, Parker wrote:
> 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 :(
You did not tell us the exact error message.
Also, IIRC -lmyLib will be expanded to libmyLib.a by the linker, so
renaming the library may help here.
regards,
Andre
More information about the Qt-interest-old
mailing list