hello,
excuse my poor english, i'm a french man...
i'm a newbie in programming in C++, and i want to develop with Code::Blocks and QT
i've installed QT 4.1 on my windows using the file : "qt-win-opensource-4.1.0-mingw.exe" in d:/qt
then i've installed CodeBlocks in d:/codeblocks with the file "codeblocks-1.0rc2_mingw.exe"
well, when i'm doing a new project with QT, , i've got a file :
<<---->>
#include <QApplication>
#include <QPushButton>
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QPushButton hello("Hello world!");
hello.resize(100, 30);
hello.show();
return app.exec();
}
<<---->>
but i can't build the project, i've got an error : "main.cpp:1:28: QApplication: No such file or directory"
what must i do ??
thanks a lot !!