[PyQt] Windows/OS X installers for PyQt4 apps

Giovanni Bajo rasky at develer.com
Sat Feb 7 11:39:44 GMT 2009

On sab, 2009-02-07 at 11:36 +0100, Frédéric wrote:
> On samedi 07 février 2009, stan wrote:
> > At least for windows,  code developed in Gentoo/Ubuntu/Python-2.5/
> > Qt/PyQt4 is very efficiently converted to self contained .exe's with
> > pyinstaller and seems a little faster executing (smaller loading time)
> > than py2exe.
> Does it mean you can package a Windows .exe from a linux system?

Yes, PyInstaller SVN trunk can do that as well. It's undocumented at the
moment, but it mostly works. To make it work, you need to share a Python
Windows installation and of course all required 3rd party libraries.

Usually, you fire up a VM with Windows, install Python, PyQt and
whatever you need; make sure your application works within the VM with
Windows; then share the disk, go back to Linux, and launch PyInstaller
in cross-compilation mode, and point it to the mount point which maps to
Giovanni Bajo
Develer S.r.l.

More information about the PyQt mailing list