I had this problem. I solved it copying
C:\Python26\Lib\site-packages\PyQt4\plugins\imageformats\qjpeg4.dll to
dist\imageformats\.

I my build script I have:

build.bat
==========
C:\python26\python.exe setup.win32.py py2exe --includes sip
...
mkdir dist\imageformats
copy C:\Python26\Lib\site-packages\PyQt4\plugins\imageformats\qjpeg4.dll
dist\imageformats\*



2009/1/13 piotr maliński <[email protected]>:
> I have a mini-browser in my app, and runned from source on Windows it
> works ok, but the binary made with Py2exe doesn't work ok - it doesn't
> display JPG/GIF images. PNG work.
>
> Adding this:
>
> data_files=[(".",["qjpeg4.dll", "qgif4.dll", "qico4.dll"]
>
> and copying the DLLs from PyQt4 doesn't help. Can this be fixed somehow?
> _______________________________________________
> PyQt mailing list    [email protected]
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>

_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to