|
From: | Mark Brand |
Subject: | Re: [Mingw-cross-env-list] Qt and JPEG/MNG |
Date: | Tue, 04 May 2010 00:35:56 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.2pre) Gecko/20100308 SUSE/3.1b1-6.3 Thunderbird/3.1b1 |
Is there something I need to link-in in my application in order for it to be able to read JPEG and MNG images? QImageReader can only decode PNG images.I've built Qt using the default qt.mk with latest development version of mingw-cross-env.
Qt has plugins for jpeg and mng. Since mingw-cross-env builds the static version of Qt by default, you have to follow the instructions here to use the static plugins:
http://doc.trolltech.com/4.6/plugins-howto.html#static-pluginsAlternatively, you can change qt.mk to build the shared version of Qt. In that case, see this link:
http://doc.trolltech.com/4.6/deployment-plugins.html#the-plugin-directory -Mark
[Prev in Thread] | Current Thread | [Next in Thread] |