But the t_rc is included in library.zip, you can check that.
On Wed, Aug 25, 2010 at 9:50 PM, Anthony Tuininga <
anthony.tuini...@gmail.com> wrote:
> On Tue, Aug 24, 2010 at 11:32 PM, Chongnan Gao <gaochong...@gmail.com>
> wrote:
> > :/img/rdot.jpg means looking for the image in resource file. It is
> t_rc.py,
> > which is compiled from t.qrc.
>
> Ok. Then it is quite straightforward, I believe. Just make sure that
> the module t_rc is included and you should be good to go. I did this
> on Linux and yes, I saw the red dots in three places, just like when I
> ran from source.
>
> Anthony
>
> > On Wed, Aug 25, 2010 at 12:53 PM, Anthony Tuininga
> > <anthony.tuini...@gmail.com> wrote:
> >>
> >> Hi Chongnan,
> >>
> >> I just had a chance to download and look at your example. I am not
> >> familiar with the format ":/img/rdot.jpg". I am guessing that means to
> >> look for a file named rdot.jpg in the directory of the executable or
> >> script? If so, you need to use include_files so that rdot.jpg is
> >> included in the target build directory. You can test this theory out
> >> by simply copying the file manually to the build directory and running
> >> the executable from there. If I am missing something, please let me
> >> know. I rarely have time to do any testing on a Windows system so I
> >> tried it on my Linux system at home -- it worked the same way as far
> >> as I could tell without having to do anything at all. So maybe I am
> >> missing something. :-)
> >>
> >> Anthony
> >>
> >> On Tue, Aug 24, 2010 at 5:36 AM, Chongnan Gao <gaochong...@gmail.com>
> >> wrote:
> >> > Hi Anthony,
> >> >
> >> > Do you figure out what's missing in cx_freeze? Thanks.
> >> >
> >> > Chongnan
> >> >
> >> > On Sun, Aug 22, 2010 at 2:55 PM, Chongnan Gao <gaochong...@gmail.com>
> >> > wrote:
> >> >>
> >> >> Hi,
> >> >>
> >> >> I've upload a test case to
> >> >> http://rapidshare.com/files/414371707/test.zip
> >> >>
> >> >> Thanks.
> >> >>
> >> >>
> >> >> On Sun, Aug 22, 2010 at 12:15 AM, Anthony Tuininga
> >> >> <anthony.tuini...@gmail.com> wrote:
> >> >>>
> >> >>> On Fri, Aug 20, 2010 at 6:16 PM, Chongnan Gao <
> gaochong...@gmail.com>
> >> >>> wrote:
> >> >>> > 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.
> >> >>>
> >> >>> Ah, perhaps I am missing something. Can you build a small test case
> >> >>> that demonstrates the problem and that I can run myself? Thanks.
> >> >>>
> >> >>> > 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
> >> >>> >
> >> >>> >
> >> >>>
> >> >>>
> >> >>>
> >> >>>
> ------------------------------------------------------------------------------
> >> >>> 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
> >> >>
> >> >
> >> >
> >> >
> >> >
> ------------------------------------------------------------------------------
> >> > Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
> >> > Be part of this innovative community and reach millions of netbook
> users
> >> > worldwide. Take advantage of special opportunities to increase revenue
> >> > and
> >> > speed time-to-market. Join now, and jumpstart your future.
> >> > http://p.sf.net/sfu/intel-atom-d2d
> >> > _______________________________________________
> >> > cx-freeze-users mailing list
> >> > cx-freeze-users@lists.sourceforge.net
> >> > https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
> >> >
> >> >
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
> >> Be part of this innovative community and reach millions of netbook users
> >> worldwide. Take advantage of special opportunities to increase revenue
> and
> >> speed time-to-market. Join now, and jumpstart your future.
> >> http://p.sf.net/sfu/intel-atom-d2d
> >> _______________________________________________
> >> cx-freeze-users mailing list
> >> cx-freeze-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
> >
> >
> >
> ------------------------------------------------------------------------------
> > Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
> > Be part of this innovative community and reach millions of netbook users
> > worldwide. Take advantage of special opportunities to increase revenue
> and
> > speed time-to-market. Join now, and jumpstart your future.
> > http://p.sf.net/sfu/intel-atom-d2d
> > _______________________________________________
> > cx-freeze-users mailing list
> > cx-freeze-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
> >
> >
>
>
> ------------------------------------------------------------------------------
> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
> Be part of this innovative community and reach millions of netbook users
> worldwide. Take advantage of special opportunities to increase revenue and
> speed time-to-market. Join now, and jumpstart your future.
> http://p.sf.net/sfu/intel-atom-d2d
> _______________________________________________
> cx-freeze-users mailing list
> cx-freeze-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
>
------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users
worldwide. Take advantage of special opportunities to increase revenue and
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
cx-freeze-users mailing list
cx-freeze-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users