[Qt-creator] Adding External Libraries

Ziller Eike Eike.Ziller at digia.com
Fri Mar 7 09:27:17 CET 2014


On Mar 7, 2014, at 8:46 AM, Comp <dcomptd at gmail.com> wrote:

> 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?

No.

> Am on Windows 7 64bit using Qt Creator 3.1.0 beta, f
> rom revision 249a8b2d24
> 
> 
> 
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator

-- 
Eike Ziller, Senior Software Engineer - Digia, Qt
 
Digia Germany GmbH, Rudower Chaussee 13, D-12489 Berlin
Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B




More information about the Qt-creator mailing list