简单的Qt程序出现错误
#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();
}
qmake -project hello.cpp 同目录下有 hello.pro , qmake hello.pro 同目录下有 Makefile 文件被生成, make 时产生错误error:invalid conversion from 'int (*)()' to 'int' make:***[hello.o] 错误1,新手求指导,谢谢