摘要:
按照QSplashScreen 说明做了个测试程序,但启动画面看不到显示,程序进入了主窗口。测试程序如下:#include <QApplication>#include <QSplashScreen>#include <QMainWindow>int main(int argc, char *argv[]){QApplication app(argc, argv);QSplashScreen *splash = new QSplashScreen;splash->setPixmap(QPixmap(":/images/star.png&quo 阅读全文