Add a GIF when gui is loading.
-
Hey Everyone ,
I want to add a GIF of company's logo which will rotate until my Mainwindow is not shown and it will show only when some internal testing is done , but until then i want my GIF to appear like a splash screen and keep playing. -
@Pariposh Have you looked at QSplashScreen Class?
-
@Pariposh said in Add a GIF when gui is loading.:
@JonB yes i have but i want to use QMovie for playing my animated GIF
QLabel can do that:
void QLabel::setMovie(QMovie *movie)
Sets the label contents to movie. Any previous content is cleared. The label does NOT take ownership of the movie.
The buddy shortcut, if any, is disabled.
See also movie() and setBuddy().