[Qt-interest] Unable to use .rc file for application icon.
Oliver Demetz
forenbeitraege at oliverdemetz.de
Wed Jul 29 10:15:38 CEST 2009
Hmmm, for me this works.
Seems like your icon file is invalid.
Have a look there:
http://msdn.microsoft.com/en-us/library/ms997636.aspx
and to the tool linked on the first site:
http://www.gamani.com/gmgdown.htm
I used this just today to follow your problem and for me it worked
immediately.
Regards,
Oliver
bharath.narayan at nokia.com schrieb:
> Hi there,
>
> I have an application (with a main window and other things). I have
> created a 64x64 icon file for the application icon.
>
> I have added this in myrcfile.rc file: ICON1_MYICON ICON “appicon.ico”
>
> I have included the file in my .pro file: RC_FILE = myrcfile.rc
>
> I am using Mingw with QtCreator.
>
> When I compile my application, I get an error saying:
> *windres*: *icon* *file* `appicon.ico' *does* *not* *contain* *icon* *data*
>
> What could be wrong here?
>
> Am I missing something?
>
> Thanks,
> -Bharath
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
More information about the Qt-interest-old
mailing list