Problem with libmng on static link
Hello,
I want to use Qt with static link on Linux. For this if I use :
./configure -static -qt-libmng -qt-libpng
or .configure -static
mng format is not supported. QMovie::supportedFormats() return none and drawPixmap with MNG don't work.
How to make static link with MNG support ?
Thanks
Re: Problem with libmng on static link
Do you have a static version of libmng installed on your system? Do you compile mng support directly into Qt library? It won't work as a plugin in a statically compiled lib.
Re: Problem with libmng on static link
A static libmng library is not exactly required, except you'll need to ship the shared libmng library with your program.
Which program outputs "mng format is not supported"? Your program? You need to link it statically with the libmng plugin. Use Q_IMPORT_PLUGIN.