[PyQt] PyQt4 and Qt plugins (imageformats, etc.) fully supported now

Giovanni Bajo rasky at develer.com
Mon Feb 23 11:33:11 GMT 2009


Hello,

I've just added a new feature to PyInstaller: a module hook is now able
to specify additional data files that are needed for the module to work
correctly. Those data files are automatically collected when using
--onedir, or bundled within the executable when using --onefile (and
automatically extracted into the temporary dir at startup).

Using this support, I've improved PyQt4's import hooks so that Qt
plugins (such as imageformats, codecs, etc.) are automatically handled
by PyInstaller. IOW, this is now fully transparent to PyInstaller users:
just run PyInstaller trunk and enjoy your multi-platform bundles of PyQt
applications without having to take care of plugins manually.

NOTE: you will need to regenerate your .spec files for this new feature
to work.
-- 
Giovanni Bajo
Develer S.r.l.
http://www.develer.com




More information about the PyQt mailing list