On Jun 21, 12:21 am, David Boddie <[EMAIL PROTECTED]> wrote:
> On Friday 20 June 2008 17:24, Phil Thompson wrote:
>
> > On Fri, 20 Jun 2008 08:04:57 -0700 (PDT),Carbonimax
> > <[EMAIL PROTECTED]> 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

How can I do that ?
If I copy the dll in the dist directory, and I use QLibrary() and
load(),
it does work in the .py but it doesn't in .exe made with py2exe

my code :
dll = QLibrary(path_to_dll)
res = dll.load()

res == true in the .py
res == false in the .exe

:-/
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to