Modify the following three files:
Bld. inf: code: Prj_platforms
Winscw gcce
Prj_matrix files
Xxxxxxxxxx. MMP
Gnumakefile icons_aif.mk
Icons_aif.mk: code: # ======================================================== ==============================================
# Name: icons_aif.mk
# Part:
# Description: This Is File For Creating. MBM File
# Version:
#
# ========================================================== ==============================================
Ifeq (wins, $ (findstring wins, $ (Platform )))
Zdir = $ (Epocroot) epoc32 \ release \ $ (Platform) \ $ (CFG) \ Z
Else
Zdir = $ (Epocroot) epoc32 \ data \ Z
Endif
Targetdir = $ (Zdir) \ resource \ apps
Icontargetfilename = $ (Targetdir) \ yourproject_aif.mbm
Do_nothing:
@ REM do_nothing
Makmake: do_nothing
BLD: do_nothing
Clean: do_nothing
Lib: do_nothing
Cleanlib: do_nothing
Resource:
Mifconv $ (icontargetfilename) / C24, 1 .. \ GFX \ icon_lst.bmp / C24, 1 .. \ GFX \ icon_cxt.bmp
Freeze: do_nothing
Savespace: do_nothing
Releasables:
@ Echo $ (icontargetfilename)
Final: do_nothing
After adding the preceding content, modify localisable_app_info In the RSS file: code: // -----------------------------------------------------------------------------
//
// Localizable application information
//
// -----------------------------------------------------------------------------
//
Resource localisable_app_info r_yourproject_localisable_app_info
{
Short_caption = Qtn_app_short_caption_string;
Caption_and_icon =
Caption_and_icon_info
{
Caption=Qtn_app_caption_string;
Number_of_icons= 1;
Icon_file= "\ Resource \ apps \ yourproject_aif.mbm";
} ;
}