[PyQt] py2exe + QWebView + .ui files

piotr maliński riklaunim at gmail.com
Sat Jan 10 16:50:14 GMT 2009

I have
setup(windows=[{"script" : "run.py"}], options={"py2exe" : {"includes"
: ["sip", "PyQt4", "PyQt4.QtNetwork"]}})

And it works, also for a WebKit using part of the application (which
needs extra PyQt4.QtNetwork added)

2009/1/10, Albert Cervera i Areny <albert at nan-tic.com>:
> I'm trying to make an installer using py2exe. One of the ui files the
>  application loads contains a QWebView widget, but I get the following error:
>  ImportError: No module named QtWebKit.QWebView
>  I've added 'PyQt4.QtWebKit' to the 'includes' list but that doesn't seem to
>  solve the problem. Does anybody know how I can solve this issue?
>  Thanks!
>  --
>  Albert Cervera i Areny
>  http://www.NaN-tic.com
>  _______________________________________________
>  PyQt mailing list    PyQt at riverbankcomputing.com
>  http://www.riverbankcomputing.com/mailman/listinfo/pyqt

More information about the PyQt mailing list