#include problem in eclipse with qt4.4.0
Hi~
I'm using eclipse with qt4.4.0.
I have set qt4.4.0 as my Window->Preferences->Qt
However, #include seems to be not working very well.
#include <QApplication> does not work (unresolved inclusion)
but #include <QtGui/QApplication> works.
Can anybody tell me why this is the case?
And how do I fix it?
Thanks =)
Re: #include problem in eclipse with qt4.4.0
Re: #include problem in eclipse with qt4.4.0
hi, we have the same problem. im using Qt 4.5.2.
tried the "QT += gui" in my .pro but still it gives error in eclipse.
any ideas or suggestions on what to do?
Re: #include problem in eclipse with qt4.4.0
i got it working.
when creating a new project choose Qt project instead of C++.
File > New > Project > Qt Gui Project