查看文章 |
一开始生成SIS时用的是Emulator Debug (WINSCW),在pkg文件里的mif那里老是出错。找不到mif文件,在resource\apps\下确实没mif文件。
在http://wiki.forum.nokia.com/index.php/How_to_create_application_icon(SVG)_in_S60_3rd_edition 找到SVG生成MIF文件的方法。
Convert SVG files to Symbian mif fileYou would find a tool called "mifconv " in the epoc32/tools: For e.g: Now from command line: c:\Symbian\9.1\S60_3rd_MR\Epoc32\tools>mifconv MyNewApp.mif /c32 C:\MyProject\gfx\qgn_menu.svg
Now open your .pkg file and find for path of .mif file. Then just give path of your newly created .mif file. Like: "C:\Symbian\9.1\S60_3rd_MR\Epoc32\tools\MyNewApp.mif" -"!:\resource\apps\YourProjectNamed_reg.mif"
"C:\MyFolder\MyNewApp.mif" -"!:\resource\apps\YourProjectNamed_reg.mif"
直接把MIF COPY到resource\apps\打包就可以了,但打包的SIS无法成功安装到手机上。
在mk文件里这段里知道肯定是生成MIF文件的路径不对。
在\release\$(PLATFORM)\$(CFG)\Z \resource\apps下发现了生成的MIF文件,那可能是选的编译环境不对。
结果选Phone Release (GCCE)打包SISX成功,并手机上安装成功。。。 |