急啊?? 没人回复吗。。
#include <QApplication>
#include <QPushButton>
int main(int argc,char*argv[])
{
QApplication app(argc,argv);
QPushButton b("hello world!");
b.show();
QObject::connect(&b,SIGNAL(clicked()),&app,SLOT(quit()));
return app.exec();
}
就这么个程序。。
rc.exe是MFC 里面的资源编辑器啊