|
#include <qapplication.h>
#include <qpushbutton.h>
int main(int argc, char** argv)
{
QApplication a(argc,argv);
QPushButton hello(0);
hello.resize(200,60);
hello.setText("我喜欢FreeBSD!");
a.setMainWidget(&hello);
hello.show();
return a.exec();
}
这个程序没错呀!怎么通不过呢? |
|