16,173
社区成员
发帖
与我相关
我的任务
分享
#include <QtGui/QApplication>
#include "dialog.h"
#include <QSplashScreen>
#include <QPixmap>
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QPixmap pixmap("./lol.png");
QSplashScreen splash(pixmap);
splash.show();
app.processEvents();
Dialog a;
a.show();
splash.finish(&a);
return app.exec();
}