View Full Version : playing a movie in a label
csvivek
20th May 2008, 06:44
How to play a gif image in a label...
i tried using QMovie...but didnot get the image displayed when i said play.
any other methods to play gifs in label...
aamer4yu
20th May 2008, 06:47
Try setting the gif through HTML in the label.
Also make sure ur Qt is compiled with gif support :)
BTW, in the docs its given -
QLabel label;
QMovie *movie = new QMovie("animations/fire.gif");
label.setMovie(movie);
movie->start();
Are you using same ??
May we see the code? Did you, by any chance, allocate either QLabel or QMovie on the stack?
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.