it seems QPlastiqueStyle is not implemented in Qt 5.0.1.
I need to create a splash screen. what I do is
QPixmap pixmap
("new/prefix1/Poker.jpg");
splashTimer.setSingleShot( true );
splashTimer.setInterval( 4000 ); //4 seconds
QObject::connect( &splashTimer,
SIGNAL( timeOut
() ),
&splash,
SLOT( close
() ));
splashTimer.start();
splash.show();
MainWindow w;
w.show();
return a.exec();
QApplication::setStyle ( new QPlastiqueStyle() );
QPixmap pixmap("new/prefix1/Poker.jpg");
QSplashScreen splash(pixmap);
QTimer splashTimer;
splashTimer.setSingleShot( true );
splashTimer.setInterval( 4000 ); //4 seconds
QObject::connect( &splashTimer, SIGNAL( timeOut() ), &splash, SLOT( close() ));
splashTimer.start();
splash.show();
QApplication a(argc, argv);
MainWindow w;
w.show();
return a.exec();
To copy to clipboard, switch view to plain text mode
though, I get the error:
Bookmarks