Thanks a lot for your reply.
Finally, my need is quite simple (I do not need sound support, and the animations are just as a gif files) so a mng file used through a QMovie object will be enough.
I did an application test with a QMovie object and I see that the displaying of each frames flicks, probably due to the way I do to process the display.
So I connect the status notification signal (using QMovie::connectStatus) to a slot in my application and when the status equals to QMovie::EndOfFrame I get the QPixmap and process the drawing using a QLabel ... here is my code :
Qt Code:
void TestFullMainWindow::processMovieStatusChanged( int status ) { switch(status) { frame->setPixmap(movie->framePixmap()); break; default: break; }To copy to clipboard, switch view to plain text mode
I know that there is something called double buffering to avoid flicking effect but I don't know how to apply it to my case, but maybe my problem comes from the way I'm trying to code the frame displaying ?
Thanks in advance.




Reply With Quote
Bookmarks