On dom, 2009-03-29 at 14:42 -0700, snafu wrote:
> And when calling the onefile in a way that makes it available to find
> the ui-file, it throws an error, too:
> 
> http://paste.pocoo.org/show/110190/
> 

This error:

> File "c:\pyinstaller\iu.py", line 446, in importHook
>     raise ImportError, "No module named %s" % fqname
> ImportError: No module named QtWebKit

probably happens because the .ui files require the webkit at runtime to
be present, but PyInstaller couldn't know that because it doesn't know
how to parse .ui files, and there probably is not any direct import of
QtWebKit in your code.

To play totally safe, I should probably add a PyQt4.uic import hook that
brings everything in: basically, if you're using PYQt4.uic, it means
that you're loading .ui files and this can bring additional
dependencies. So in doubt I should probably just include the whole PyQt.
Do you agree?
-- 
Giovanni Bajo
Develer S.r.l.
http://www.develer.com



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/PyInstaller?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to