py2exe, PyQT, QtWebKit and jpeg problem

David Boddie david at boddie.org.uk
Fri Jun 20 18:21:39 EDT 2008


On Friday 20 June 2008 17:24, Phil Thompson wrote:

> On Fri, 20 Jun 2008 08:04:57 -0700 (PDT), Carbonimax
> <carbonimax at gmail.com> wrote:

>> I have a problem with py2exe and QtWebKit :
>> I make a program with a QtWebKit view.
>> If I launch the .py directly, all images (jpg, png) are displayed but
>> if I compile it with py2exe I have only png images. No jpg !
>> No error message, nothing.
>> 
>> Have you a solution ? Thank you.
> 
> At a guess, the JPEG support is implemented as a Qt plugin which you are
> not including.

Yes, that would appear to the be most obvious cause. See here for another
report about this:

http://lists.trolltech.com/qt4-preview-feedback/2008-03/msg00064.html

David



More information about the Python-list mailing list