#include <QtGui>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QPixmap pixmap(":/splash.png");
QSplashScreen splash(pixmap, Qt::WindowStaysOnTopHint);
QTimer::singleShot(3000, &splash, SLOT(close()));
splash.show();
MainWindow w;
w.show();
return a.exec();
}