[Qt-interest] silly library question

Gopalakrishna Bhat gopalakbhat at gmail.com
Thu May 5 17:18:21 CEST 2011


Hi,

The qt doc says that we should use it like

win32:INCLUDEPATH += $$quote(C:/mylibs/extra headers)

But I have used it like

D:\development\compilation\gloox-1.0\src\.libs\libgloox.dll.a

Note the extension .a that I am using. I think that mingw does not produce a
.ib fie(insted we should use .dll.a)

Also try using the same mingw compiler for the qt project and the curl
library.

With regards,
Gopalakrishna


On Thu, May 5, 2011 at 8:17 PM, R. Reucher <rene.reucher at batcom-it.net>wrote:

> Hi!
>
> I've had similar issues with one of my projects, with also need to link to
> SDL and ZLIB...
>
> I finally figured that you need to specify the .lib file, not just the
> directory where the .lib and .dll files reside! Example:
>
> LIBS += C:\curl-7.21.6-devel-mingw32\lib\curl.lib
>
> I don't know if forward or backward slashes make a difference here, I've
> use
> back-slashes... also, I use a script to produce the .vcxproj file for VS
> 2010 and specify the "LIBS += ..." statement on the qmake command line, not
> in the .pro file, but I don't think it matters.
>
> HTH, René
> --
> René Reucher
> rene.reucher at batcom-it.net
> http://www.batcom-it.net/
>
> Are you a turtle?
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest
>



-- 
My blog http://gkbhat.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110505/b6f38313/attachment.html 


More information about the Qt-interest-old mailing list