it could be that due to configuration issues, your image is not found, and thus you get a null pixmap.
Try this:
XXXSplashScreen splash; //XXXSplashScreen encapsulate the QSplashScreen
if(splsh.pixmap().isNull()){
qDebug()<<"nuill pixmap";
}
splash.show(); //the program crash right here
app.
setWindowIcon(QIcon());
XXXSplashScreen splash; //XXXSplashScreen encapsulate the QSplashScreen
if(splsh.pixmap().isNull()){
qDebug()<<"nuill pixmap";
}
splash.show(); //the program crash right here
app.setWindowIcon(QIcon());
To copy to clipboard, switch view to plain text mode
and see if the debug message comes out, or you can set a break point on the debug message.
Bookmarks