[Qt-creator] Adding External Libraries

Comp dcomptd at gmail.com
Fri Mar 7 08:46:07 CET 2014


Hi,

Am trying to add external library (boost filesystem) to my project using 
the add library dialog.
Qt Creator does not pick the library nor the include files.
In the .pro file the following is added;

<code>
win32:CONFIG(release,debug|release):LIBS+=-L$$PWD/C:/MinGW/lib/-lboost_filesystem 


else:win32:CONFIG(debug,  debug|release):  LIBS  +=  -L$$PWD/C:/MinGW/lib/  -lboost_filesystemd

else:unix:!macx:  LIBS  +=  -L$$PWD/C:/MinGW/lib/  -lboost_filesystem

INCLUDEPATH  +=  $$PWD/C:/MinGW/include

DEPENDPATH  +=  $$PWD/C:/MinGW/include

<code/>

What Am I doing wrong? Are the characters "$$PWD/" suppose to be there?


Am on Windows 7 64bit using Qt Creator 3.1.0 beta, from revision 249a8b2d24


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20140307/897b2762/attachment.html>


More information about the Qt-creator mailing list