http://www.qtcn.org/bbs/read.php?tid=20543#52042Re:在linux下qt 4后编译HelloWorld.pro出错
引用第1楼wanglei2258于2009-07-28 09:46发表的 :
QT装的是是哪个版本的,最好将你写的代码贴出来看看,编译的时间这样就可以了,(1)qmake project (2)qmake (3)make
qt-x11-opensource-src-4.3.3.tar
#include<qappilication>
#include<qpushbutton>
int main(int argc, char *argv[])
{
qapplication app(argc,argv);
qpushbutton hello("hello world!");
hello.resize(100,30);
hello.show();
retrun app.exec();
}
程序是书上的,应该没错,会不会是什么路径的错?