qsplashscreen

Qt Splash Screen not showing

时光总嘲笑我的痴心妄想 提交于 2019-12-12 12:12:46
问题 I have this code, I want it to show a splash screen since it will be bigger, having had made a kind of timer so it is possible to see the splash screen working. The problem is I don't see the splash screen, but the code will be running while the splash screen doesn't appear, sending me directly to the main window without showing the splas screen. Here's my code. main.cpp #include <iostream> #include <QApplication> #include <quazip/quazip.h> #include "splashwindow.h" #include "mainwindow.h"