Code:
#include <QApplication>
#include <QPlastiqueStyle>
#include <QSplashScreen>
#include "maker.h"
#include "about.h"
int main(int argc, char *argv[])
{
QPixmap pixmap
("new/prefix1/Poker.jpg");
splashTimer.setSingleShot( true );
splashTimer.setInterval( 4000 ); //4 seconds
connect( &splashTimer, SIGNAL( timeOut() ), &splash, SLOT( close() );
splashTimer.start();
splash.show();
MainWindow MainWindow;
MainWindow.show();
splash.finish(&MainWindow);
return app.exec();
}
As you told me, but there appear errors: