qt4.1.0成功安装后,编译/examples/t1失败,出错如下???
g++ -c -pipe -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I. -I/usr/include/qt3 -o main.o main.cppmain.cpp:24:24: error: QApplication: 没有那个文件或目录main.cpp:25:23: error: QPushButton: 没有那个文件或目录main.cpp: In function ‘int main(int, char**)’:main.cpp:29: 错误:‘QApplication’ 在此作用域中尚未声明main.cpp:29: 错误:expected `;' before ‘app’main.cpp:31: 错误:‘QPushButton’ 在此作用域中尚未声明main.cpp:31: 错误:expected `;' before ‘hello’main.cpp:32: 错误:‘hello’ 在此作用域中尚未声明main.cpp:35: 错误:‘app’ 在此作用域中尚未声明main.cpp: At global scope:main.cpp:27: 警告:未使用的形参 ‘argc’main.cpp:27: 警告:未使用的形参 ‘argv’make: *** [main.o] 错误 1请教怎样修改???谢谢了先!