I have been trying to insert an animated picture GIF in a QLabel. I searched in Google to see how to do it (I am a newbie )
I used this code:
Qt Code:
  1. #include <QtGui>
  2.  
  3. int main(int argc, char* argv[])
  4. {
  5. QApplication app(argc, argv);
  6. QLabel w;
  7.  
  8. // On crée une vidéo. Ici, c'est un GIF
  9. QMovie movie("c:/Mickey-11.gif");
  10. // On l'associe à un label
  11. w.setMovie (&movie);
  12. // On lance la vidéo
  13. movie.start ();
  14.  
  15. w.show();
  16. return app.exec();
  17. }
To copy to clipboard, switch view to plain text mode 
(from http://qt.developpez.com/faq/?page=animation#gif_anime)

but it is not working. They mentioned compiling the GIF plugin but I didn't know how to do it.

Thanx for your help