Compiling a Qt Application using Dev C++ on Windows -


i wrote small qt application in dev-c++ shown:

#include <qapplication> #include <qlabel>  int main(int argc,char *argv[]) {     qapplication app(argc,argv);     qlabel *label = new qlabel("hello qt!");      label->show();     return app.exec(); } 

i quite sure i've done necessary start creating qt applications such install qt5.3.2, setup system environment variables, etc. however, when trying compile program in dev-c++, error saying:

[error]: qapplication: no such file or directory 

after closely following instructions other tutorials, still cannot program compile.

what doing wrong?

dev-c++ based on mingw, should install qt compiled mingw on windows. indeed should use qmake generate makefiles. compilation should use make utility provided mingw distribution shipped dev-c++ (the name of utility might not 'make' in mingw)


Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -