[PyQt] Problem using pyQT4 together with py2exe
Frédéric
frederic.mantegazza at gbiloba.org
Tue May 12 06:25:36 BST 2009
On Monday 11 May 2009, hio wrote:
> i'm in trouble with using pyQT4 and py2exe together...
> My problem is that the .exe resulting by running the script seup.py,
> when launched works fine but
> does not load the pictures i placed in my pyQT gui code.
> No pixmaps were loaded and displayed nor images by QT resource
> files....any ideas? where's my mistake?
You should put your icons in a resource file, compile it as a .py file, and
import it as any other module. This way, there is no problem.
--
Frédéric
http://www.gbiloba.org
More information about the PyQt
mailing list