[Interest] QML: Loading a .gif directly from memory

Cathal Tummon (ctummon) ctummon at cisco.com
Fri Feb 24 11:40:53 CET 2023


Hi all,

I can't seem to find a way to play a .gif directly from memory in QML.
https://doc.qt.io/qt-5/qml-qtquick-animatedimage.html doesn't support QQuickImageProvider which would be my go-to.
Unfortunately loading from disk or using qrc files isn't an option.

Does anyone have any suggestions?

I found this stack overflow thread, but it seems like a hack: https://stackoverflow.com/questions/38542260/qquickimageprovider-for-animated-images

Many thanks,
Cathal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20230224/c5d97a75/attachment.htm>


More information about the Interest mailing list