#include <qapplication.h>
#include <qlabel.h>
int main(int argc,char *argv[]){
QApplivation app(argc,argv[]);
QLabel *label = new QLabel("Hello Qt!");
label->show();
return app.exec();
}
qt command prompt
qmake -project
qmake hello.pro
make hello
在编译中出现下面问题,请大侠们帮解决一下,谢谢!
QApplication no such file or directory
QLabel no such file or directory