Hi I'm quite new to qt and I'm trying to show an animated gif from an internet url to my mobile application.
Qt Code:
ui->myLabel->setMovie(gif); gif->start();To copy to clipboard, switch view to plain text mode
where SyncHTTP::requestImg( QUrl(strUrl) ); returns a ByteArray of my gif image. (works fine with an other static image)
the image is appearing fine but when it's time for the next frame of the gif the program crash. I understand that the problem has to do something with destroying objects, but as I'm not experienced in C++ cannot figure it out...
Any idea? or other way of implementing it?
Bookmarks