×
Namespaces

Variants
Actions
Revision as of 13:55, 13 June 2012 by hamishwillee (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

MeeGo修改版本号和程序中文名

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata

文章
marcoweaver 在 12 Aug 2011 创建
最后由 hamishwillee 在 13 Jun 2012 编辑

使用Qt开发Nokia MeeGo项目时,使用如下方式修改版本号和使用中文名:

1 版本号:

需要修改qtc_packaging\debian_harmattan下的changelog


app (0.0.1) unstable; urgency=low


* Initial Release.


-- unknown <> Fri, 22 Jul 2011 15:06:42 +0800



增加新版本就按照原来的格式复制一份到文件的顶端:比如


app (0.0.2) unstable; urgency=low


* Version2 Release.


-- unknown <> Fri, 26 Jul 2011 15:06:42 +0800


app (0.0.1) unstable; urgency=low


* Initial Release.


-- unknown <> Fri, 22 Jul 2011 15:06:42 +0800



2 应用名称的修改:

需要修改yourapplication.desktop的name属性,并存储为utf-8 no boom模式,否则中文会有乱码。 比如:


[DesktopEntry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
Name=中文程序
Exec=invoker --single-instance --type=d /opt/doubanFM/bin/doubanFM
Icon=/usr/share/icons/hicolor/scalable/apps/doubanFM.svg
X-Window-Icon=
X-HildonDesk-ShowInToolbar=true
X-Osso-Type=application/x-executable
This page was last modified on 13 June 2012, at 13:55.
73 page views in the last 30 days.
×