qt新手问题
发表于 : 2009-08-06 21:45
还是经典的hello qt,
helloqt.cpp:2:17: 错误: QLable:没有该文件或目录
helloqt.cpp: In function ‘int main(int, char**)’:
helloqt.cpp:6: 错误: ‘QLable’在此作用域中尚未声明
helloqt.cpp:6: 错误: ‘lable’在此作用域中尚未声明
helloqt.cpp:6: 错误: expected type-specifier before ‘Lable’
helloqt.cpp:6: 错误: expected `;' before ‘Lable’
google过了,按照网上说的检查qmake 版本,我的是4.5,然后也检查过makefile里的路径,/usr/include/qt4/确下有QApplication和QLabel
还行哪位指教下
helloqt.cpp:2:17: 错误: QLable:没有该文件或目录
helloqt.cpp: In function ‘int main(int, char**)’:
helloqt.cpp:6: 错误: ‘QLable’在此作用域中尚未声明
helloqt.cpp:6: 错误: ‘lable’在此作用域中尚未声明
helloqt.cpp:6: 错误: expected type-specifier before ‘Lable’
helloqt.cpp:6: 错误: expected `;' before ‘Lable’
google过了,按照网上说的检查qmake 版本,我的是4.5,然后也检查过makefile里的路径,/usr/include/qt4/确下有QApplication和QLabel
还行哪位指教下