Not specifically: .ui files are data files, and PyInstaller is about
packaging your program, not your data.
An easy solution is to use pyuic4 to compile .ui files into Python code.
Otherwise, you may want to read PyInstaller's manual about how to put
arbitrary data files within the generated executable, but it's not
something that it's streamlined to do.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
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?