#include <qapplication.h>
#include <qpushbutton.h>
int main(int argc,char **argv)
{
QApplication a(argc,argv);
QPushButton hello("Hello World!",0);
hello.resize(100,30);
hello.show();
return a.exec();
}
qmake -project
qmake
make
[ 此贴被XChinux在2006-05-23 18:02重新编辑 ]