AnimatedImage - unable to read MNG files
-
Hi,
I'd like to use MNG files (animated PNG) to display in an AnimatedImage element. This used to work flawlessly before, but I have installed a newer version of Kubuntu Linux in the meantime and whenever I try now the error 'Error Reading Animated Image File' appears. Animated gif files work fine.
-
Hi,
Did you rebuild your application from scratch after the update ?
-
Yes, several times. I'm using QtCreator 2.7.1 with Qt 5.0.2 that comes with the Ubuntu SDK package. I'm not keen on installing the official Qt distribution on top of that.
-
Check wether you have the mng plugin in the imageformats folder
-
That must be it, when I do a locate -e libqmng, only this comes up
/usr/lib/i386-linux-gnu/qt4/plugins/imageformats/libqmng.so
This file is not present under the qt5 folder, I tried copying it and then recompiling my project but it still gives me the same error.
There's also a qt5 imageformats package for my distribution but unfortunately not my specific revision (13.04 raring ringtail), I'm guessing the repository has some catching up to do. Thanks for the tip
-
It won't help since it's build for Qt 4.
As an alternative, you can also get Qt 5 sources and only build the mng plugin
-
I uninstalled the repository version and installed the official Qt 5.1 distribution instead. Works fine now.