[PyQt] Re: Icons problem with pyqt4 and py2exe!

drizt drizt.ruan at gmail.com
Tue Jul 7 06:45:35 BST 2009


Thanks, it works when I create a setup.py with no bundle_files option,
but it remains no icons when I use "bundle_files":1 options in my
setup.py. Can I force bundling all the plugin dlls in my .exe file?

On Mon, 2009-07-06 at 20:45 +0100, pyqt-request at riverbankcomputing.com
wrote:
> check the imageformats solution described in my tutorial -
> http://www.rkblog.rk.edu.pl/w/p/building-standalone-ms-windows-apps-py2exe/
> 
> 2009/7/6 Ruan WenBO <drizt.ruan at gmail.com>
> 
> > Hello :
> >        I am trying Py2exe to migrate a pyqt4 app to Windows from my
> Ubuntu.
> > The problem is all the icons on my application window disappeared.
> >        I use qt designer to create my main window and create my
> resource
> > file. Then compile the .ui file and .prc file in Eric4 IDE. To
> execute the
> > python code is all right but the icons disappeared after I compiled
> with
> > py2exe and executing the *.exe file!
> >        Any idea?
> >        Anothem problem is the action function's name is difference
> with
> > Ubuntu and Windows, such as on_action_Open_activated(self) works ok
> in
> > Ubuntu, but in Windows I must use on_action_Open_triggered(self). I
> don`t
> > think it is a good design.\
> >
> >
> >
> >     regards,
> > drizt.ruan
> >
> > _______________________________________________
> > PyQt mailing list    PyQt at riverbankcomputing.com
> > http://www.riverbankcomputing.com/mailman/listinfo/pyqt



More information about the PyQt mailing list