PDA

View Full Version : QT Creator and additional library



banita
9th August 2010, 15:24
How can I link additional library to my application with qt creator?
I want use some boost librarys.

Lykurg
9th August 2010, 19:33
You have to add the include path in your pro file: have a look at INCLUDE and LIBS.

shenakan
31st August 2010, 14:57
I installed boost (boost Pro) but I have different versions of DLL v90 v100 for visual. Will it work with if I compile with qtcreator ?

ktk
6th September 2010, 22:53
On Windows you can build a project only (simplified..) from libraries compiled with the same compiler. So if you have boost build with the Microsoft compiler, you need to build all other libraries (including, if used, Qt) with the same. You can use Qt Creator, but note that the version of Qt distributed with the SDK is compiled with MinGW, i.e. _not_ with the Microsoft compiler.
I am, however, pretty sure there's a MinGW compiled boost somewhere, too.

shenakan
7th September 2010, 14:37
So I should also compile boost with MinGW... But what is the easier with to do it?