[Qt-interest] Problems displaying JPEG images
Ian Clark
mrrooster at gmail.com
Tue Aug 3 18:14:37 CEST 2010
On 30 July 2010 17:00, Davide <davide83 at gmail.com> wrote:
> Hello everybody,
> I have just discovered a problem affecting my Qt application when
> loading a JPEG image.
> The program simply loads and displays a jpeg image and works fine if I
> run it on my pc with the complete Qt SDK 2010.4 installed.
>
> In order to run it also in other pc without installing Qt I put the
> executable file in a folder with the needed DLLs:
> - QtCore4.dll
> - QtGui4.dll
> - QtNetwork4.dll
> - libgcc_s_dw2-1.dll
> - mingwm10.dll
> - msvcp80.dll
> - msvcr80.dll
>
> and I created a directory 'imageformats' which contains:
> - qjpeg4.dll
>
> The programs starts correctly but doesn't display Jpeg images.
> I used to do the same thing with a previous version of Qt (4.5.x) and
> it worked perfectly.
>
> Am I missing something?
Does it work if you move the 'imageformats' to a plugins folder, then
add a qt.conf file:-
[Paths]
plugins = plugins
More information about the Qt-interest-old
mailing list