[Qt-interest] silly library question

R. Reucher rene.reucher at batcom-it.net
Thu May 5 16:47:30 CEST 2011


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?




More information about the Qt-interest-old mailing list