someone on the webkit irc was nice enough to help me...

turns out the trivial solution to this is to include PyQt4.QtNetwork


On Tue, Sep 9, 2008 at 6:50 PM, <[EMAIL PROTECTED]> wrote:

> Hi,
> I am having the same problem using py2exe with a pyqt application with
> qwebview.  Has anyone found a solution?
>
> Thanks.
>
>
> Original Message:
>
> Hi,
>
> I'm trying to make an exe from a PyQt4 app that uses WebKit. But I've got
> the
> following problem :
>
> Traceback (most recent call last):
>    File "main.py", line 11, in <module>
>    File "app_ui.pyc", line 172, in <module>
>    File "PyQt4\QtWebKit.pyc", line 12, in <module>
>    File "PyQt4\QtWebKit.pyc", line 10, in __load
> ImportError: No module named QtNetwork
>
> Here's my setup.py file :
>
> #!/usr/bin/env python
> # -*- coding: utf-8 -*-
>
> from distutils.core import setup
> import py2exe
>
> setup(  windows=[{"script":"main.py"}],
>          options={
>              "py2exe":{"includes":["sip"]}} )
>
> Any idea on how to fix this ?
>
> Thanks.
>
>
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to