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 on 1 Apr 2025, 13:14 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 on 2 Apr 2025, 02:54 last edited by@JoeCFD
Thank you, I will try -
wrote on 2 Apr 2025, 08:15 last edited by
@Christian-Ehrlicher @JonB @JoeCFD
I have tried the solution, but not GIF image format to work.
21/23