[PyQt] Application built with py2exe doesn't display jpg/gif
images in QWebView
piotr maliński
riklaunim at gmail.com
Wed Jan 14 01:56:17 GMT 2009
Works, many Thanks :)
W dniu 13 stycznia 2009 23:44 użytkownik Sergio Jovani
<lesergi at gmail.com>napisał:
> 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
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20090114/c83cb63e/attachment.html
More information about the PyQt
mailing list