The JPEG .dll dynamic plugin works fine on my Windows development machine, but I can't get it to work when my software is deployed to a clean Windows machine.
I have tried searching the Qt documentation, this forum, stackoverflow.com, Google etc and fiddling with paths and qt.conf. No luck.
I am deploying like this:
myapp.exe
Qt*4.dll
\Microsoft.VC80.CRT
--- Microsoft.VC80.CRT.manifest
--- msvcp80.dll
--- msvcr80.dll
\imageformats
--- qjpeg4.dll
The .exe runs fine and can handle PNG and other formats, but QImage::load() just returns false every time for JPEG.
I have looked at qjpeg4.dll in the MS Depends tool and it only requires the same DLLs as my .exe (QtCore4.dll, QtGui4.dll, msvcp80.dll, msvcr80.dll).
I am using the standard Qt 4.8.0 Windows build downloaded from Nokia.
The main problem is the complete lack of any feedback or error message. QImage::load() just returns false for JPEG. No other clue. It is very frustrating. Any ideas?
Bookmarks