Thanks. I notice that argument in cx_freeze doc.

I have other similar problems. That is, the icon in other widget, e.g.
QLabel, is also missing. The icon can be shown if I run with pythonw xxx.py.
And it is included in the resource .py file.

On Fri, Aug 20, 2010 at 9:43 PM, Anthony Tuininga <
anthony.tuini...@gmail.com> wrote:

> Well, if you want the icon to be included in the frozen executable you
> will have to specify that when you build. The frozen executable is
> based on a base executable which has no icon. Use the icon argument to
> specify the one you want. If I am missing what you are talking about,
> feel free to ask again with a bit more detail. Thanks.
>
> Anthony
>
> On Fri, Aug 20, 2010 at 6:51 AM, Chongnan Gao <gaochong...@gmail.com>
> wrote:
> > Anyone can explain it? Thanks.
> >
> > On Wed, Aug 18, 2010 at 9:36 AM, Chongnan Gao <gaochong...@gmail.com>
> wrote:
> >>
> >> hi all,
> >>
> >> I have a pyqt application whose icon is in a resource file. I can see
> the
> >> icon when run the application using python app.py. But after I package
> the
> >> application using cx_freeze, the icon is missing. I can see the compiled
> >> resource in the `library.zip' (generated by cx_freeze), but the icon is
> >> still missing. Any one can help? Thanks.
> >
> >
> >
> ------------------------------------------------------------------------------
> > This SF.net email is sponsored by
> >
> > Make an app they can't live without
> > Enter the BlackBerry Developer Challenge
> > http://p.sf.net/sfu/RIM-dev2dev
> > _______________________________________________
> > cx-freeze-users mailing list
> > cx-freeze-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
> >
> >
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> cx-freeze-users mailing list
> cx-freeze-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
>
------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
cx-freeze-users mailing list
cx-freeze-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users

Reply via email to