tags:

views:

486

answers:

2

Hi,

I have set up the latest eclipse+cdt + mingw + qt + qt-eclipse-integration.

I have 2 Problems:

  1. When i create "New -> Qt Gui Project" it doesn't add the mingw includes (when i click new c++ project it adds them)
  2. I would like to use boost, too. How do I tell eclipse/qmake to add the .lib's ?

Thank you Chris

A: 

Hi Everybody!

I join to Chris, I have similar problem, with similar environment. Exactly I can add external libs and include path to the project, but when the qmake generates the standard c++ code then the libs and the paths are loosing, so the generated Makefile is false. If I modify the Makefile by hand, then I can compile fine, but with the generated Makefile I can not do this. If anybody have any solution, please post it! Thank you very much!

Istvan

Istvan Palyi
A: 

Hi,

I found the solution :) If you want to add external include path or library to the project, then you have to modifye the xxxx.pro file-t. Details here: http://doc.trolltech.com/4.5/qmake-variable-reference.html#includepath

Good luck! Istvan

Istvan Palyi