简体   繁体   English

Symbian sis文件安装失败

[英]Symbian sis file installation failed

Im developing a QT application which includes QTMobility and QContacts, QMessaging and QSystemInfo. 我正在开发一个QT应用程序,其中包括QTMobility和QContacts,QMessaging和QSystemInfo。

Following this documentation . 遵循本文档

my .pro file has following capabilities 我的.pro文件具有以下功能

symbian::TARGET.CAPABILITY = LocalServices ReadUserData WriteUserData NetworkServices UserEnvironment ReadDeviceData WriteDeviceData Location

However while installing the sis file, I get the error "Requested application access not granted" 但是,在安装sis文件时,出现错误“未授予请求的应用程序访问权限”

Am I missing some capabilities or are there too many of them 我缺少某些功能还是太多了?

You have to sign you sis file with a valid certificate in order to install it. 您必须使用有效的证书对sis文件进行签名才能进行安装。 I assume that you use QT Creator IDE. 我假设您使用QT Creator IDE。 It self-signs sis files by default. 默认情况下,它会自签名sis文件。 Self-signing can be used for the set of basic capabilities which include only: 自签名可以用于一组基本功能,其中仅包括:

ReadUserData WriteUserData NetworkServices LocalServices UserEnvironment

If you really need your application to use ReadDeviceData WriteDeviceData Location you must sign your sis file with a developer certificate. 如果您确实需要应用程序使用ReadDeviceData WriteDeviceData Location ,则必须使用开发人员证书对sis文件进行签名。 This is how you can get your certificate. 这是获取证书的方式。 You have several options here: 您在这里有几种选择:

  1. If you have a Publisher ID you can get a certificate at symbiansigned.com . 如果您具有发布者ID,则可以在symbiansigned.com上获取证书。 To get a Publisher ID for 1 year will cost you $200 and to apply you must represent a registered organization. 要获得1年的发布商ID,您的费用为200美元,要申请,您必须代表一个注册组织。 Individual developers can not apply for a Publisher ID. 各个开发人员不能申请发布者ID。
  2. Sign your sis file with Open Signed Online . 使用Open Signed Online签名 sis文件。 It's free and anyone can use it. 它是免费的,任何人都可以使用。 But you will have to go there and sign your sis each time you rebuild your application. 但是每次重新构建应用程序时,您都必须去那里并签署您的sis。
  3. For a mere €1 you can become an Ovi Publisher . 仅需€1欧元,您就可以成为Ovi发行商 Registration is available for both companies and individual developers. 公司和个人开发人员均可注册。 After you register Ovi will provide you a developer certificate for up to 5 IMEI numbers of your test devices. 注册后,Ovi会为您提供最多5个IMEI测试设备编号的开发人员证书。

Hope this was helpful. 希望这会有所帮助。 Good luck! 祝好运!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM