How to using GIF image for QT ?
-
@JonB It is not a QMovie issue. May be better to try to make his code to run dynamically with gif plugin first. And then build his app with gif plugin statically.
wrote 17 days ago last edited by JonB 4 Jan 2025, 13:15@JoeCFD
I understand, but was trying to simplify, and follow @Christian-Ehrlicher's suggestion of checking file exists and removing resources from OP's situation, as I don't know what he actually has there/where.If you are happy to take over here that's fine :) If the fact that the OP's
supportedImageFormats()
does not include GIF indicates that is where the problem lies then obviously all my questions are not relevant. -
@Nguyen-Thang-Phong Did you try the following in the pro file?
CONFIG += static # For static plugins static { # Include the GIF plugin QTPLUGIN += qgif }
wrote 16 days ago last edited by@JoeCFD
Thank you, I will try -
wrote 16 days ago last edited by
@Christian-Ehrlicher @JonB @JoeCFD
I have tried the solution, but not GIF image format to work.
21/23