不好意思了,错误信息如下:
main.cpp:1:25: qapplication.h: No such file or directory
main.cpp:3:18: QLabel: No such file or directory
main.cpp: In function `int main(int, char**)':
main.cpp:8: error: `QApplication' undeclared (first use this function)
main.cpp:8: error: (Each undeclared identifier is reported only once for each function it appears in.)
main.cpp:8: error: expected `;' before "app"
main.cpp:9: error: `QLabel' undeclared (first use this function)
main.cpp:9: error: `lab' undeclared (first use this function)
main.cpp:9: error: `QLabel' has not been declared
main.cpp:12: error: `app' undeclared (first use this function)
main.cpp: At global scope:
main.cpp:6: warning: unused parameter 'argc'
main.cpp:6: warning: unused parameter 'argv'
make: *** [main.o] 错误 1
有人遇到过吗??