i'm using the splash screen too, but I use it like this.
int main(int argc, char** argv) {
QPixmap pixmap
("./images/splash.png");
splash.show();
app.processEvents(); // this is to allow the procesing of mouse clicks over the splash to close it
// some more code
MainWindow win;
win.resize(1024, 768);
win.show();
splash.finish(&win); // this finishes the splash when the program finished loading.
int main(int argc, char** argv) {
QApplication app(argc, argv);
QPixmap pixmap("./images/splash.png");
QSplashScreen splash(pixmap);
splash.show();
app.processEvents(); // this is to allow the procesing of mouse clicks over the splash to close it
// some more code
MainWindow win;
win.resize(1024, 768);
win.show();
splash.finish(&win); // this finishes the splash when the program finished loading.
To copy to clipboard, switch view to plain text mode
Check the way i'm using the splash, I'm inclined to think that the app.processEvents(); is key to your problem.
Bookmarks