[PyQt] Application built with py2exe doesn't display jpg/gif
images in QWebView
Sergio Jovani
lesergi at gmail.com
Tue Jan 13 22:44:25 GMT 2009
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 <riklaunim at gmail.com>:
> 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 PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
More information about the PyQt
mailing list