Hello,
In my app, I've got such a piece of code:
splashScreen.show();
splashScreen.
showMessage(QString("Loading..."),Qt
::AlignCenter | Qt
::AlignBottom,
QColor(0,
150,
255));
MainWindow w;
splashScreen.finish(&w);
w.show();
QSplashScreen splashScreen(QPixmap(":/data/other/splashScreen.png"));
splashScreen.show();
splashScreen.showMessage(QString("Loading..."),Qt::AlignCenter | Qt::AlignBottom,QColor(0,150,255));
MainWindow w;
splashScreen.finish(&w);
w.show();
To copy to clipboard, switch view to plain text mode
It shows me a splash screen, but in places that should be transparent (as the base for this splash screen is a PNG image) there is background. Is this possible to have a splash screen with transparency?
Bookmarks