QT Eclipse Integration - Adding External Libs

2019-08-21 07:37发布

问题:

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

回答1:

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



标签: eclipse qt boost