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...
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...
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 -
Are you using same ??Qt Code:
QLabel label; label.setMovie(movie); movie->start();To copy to clipboard, switch view to plain text mode
Last edited by jpn; 20th May 2008 at 08:05. Reason: changed [quote] to [code] tags
May we see the code? Did you, by any chance, allocate either QLabel or QMovie on the stack?
J-P Nurmi
Bookmarks