Qt:如何修复诺基亚智能安装程序的部署?
我正在使用 Qt Nokia SDK 开发 Qt 应用程序(是的,我知道我可以使用 Qt SDK 版本 1.1.1,但由于时间紧迫,我现在不想这样做)。
申请已完成,我已从 OVI 申请了 UID,并收到了 UID、证书安装程序和开发人员证书/密钥对以进行测试。
-我收到了这些 UID:
UID# 0x200XXXX1
UID# 0x200XXXX2
UID# 0x200XXXX3
UID# 0x200XXXX4
UID# 0x200XXXX5
-我在测试设备上安装了证书安装程序
更改了构建设置,以便我使用从 OVI 收到的证书:
更改了项目文件,以便它使用 UID(这是 .pro 文件的一部分)(请参阅 UID):
<前><代码>版本 = 1.0.0 DEPLOYMENT.display_name=项目 DEPLOYMENT.installer_header = "$${LITERAL_HASH}{\"项目应用安装程序 \"}, {0x2002CCCF}, 1,0,0" 塞班系统{ 目标.UID3 = 0x200XXXX1 目标.能力 += 网络服务 \ 读取用户数据\ 写入用户数据\ 读取设备数据\ 写入设备数据 ICON = Icon-no-glare-tiny1.2.svg 目标.EPOCSTACKSIZE = 0x14000 目标.EPOCHEAPSIZE = 0x020000 0x800000 INCLUDEPATH += C:/NokiaQtSDK/Symbian/SDK/epoc32/include LIBS += -LC:/NokiaQtSDK/Symbian/SDK_OK/epoc32/release/armv5/lib LIBS += -lcone \ -leikcore \ -拉夫孔\ -letel3rdparty}
问题: 通过这样做,我使用诺基亚智能安装程序包装应用程序(这是我想要的),但是当我尝试在我的测试设备上安装它时,我收到消息“无法从不受信任的供应商”
这种情况仅在启动安装程序几秒钟后发生,因此我认为 uid 和诺基亚智能安装程序可能有问题。
- 这里有一些糖果: 如果我不使用诺基亚智能安装程序打包应用程序,则安装该应用程序没有问题。
有人有我可以尝试的建议吗?我现在非常想让这个工作起来。
如有任何疑问,请随时询问。
提前致谢。
I'm developing a Qt application using the Qt Nokia SDK (Yes i know i can use the Qt SDK version 1.1.1, but i don't want to that right now because of tight schedule).
The application is finished and i have applied for UID's from OVI and received UID's, cert installer and developer cert/key pair for testing.
-I received these UID's:
UID# 0x200XXXX1
UID# 0x200XXXX2
UID# 0x200XXXX3
UID# 0x200XXXX4
UID# 0x200XXXX5
-I installed the cert installer on the test device
Changed the build settings so that i use the certificate i received from OVI:
Changed the project file so that it takes use of the UID (This is a part of the .pro file)(See UID's):
VERSION = 1.0.0 DEPLOYMENT.display_name=Project DEPLOYMENT.installer_header = "${LITERAL_HASH}{\"Project App Installer \"}, {0x2002CCCF}, 1,0,0" symbian { TARGET.UID3 = 0x200XXXX1 TARGET.CAPABILITY += NetworkServices \ ReadUserData \ WriteUserData \ ReadDeviceData \ WriteDeviceData ICON = Icon-no-glare-tiny1.2.svg TARGET.EPOCSTACKSIZE = 0x14000 TARGET.EPOCHEAPSIZE = 0x020000 0x800000 INCLUDEPATH += C:/NokiaQtSDK/Symbian/SDK/epoc32/include LIBS += -LC:/NokiaQtSDK/Symbian/SDK_OK/epoc32/release/armv5/lib LIBS += -lcone \ -leikcore \ -lavkon \ -letel3rdparty
}
Problem:
By doing this i wrap the application using the Nokia smart installer (Which is something i want), but when i try to install this on my test device i get the message "Unable to install a protected application from an untrusted supplier"
This happens only seconds after starting the installer, so i think it might be something wrong with the uid and Nokia smart installer.
- Here's some candy though:
If i do not wrap the application using Nokia smart installer, i have no problems installing the application.
Does anyone have a suggestion i can try? i'm desperate in getting this working now.
If any questions, please do not hesitate to ask.
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当您使用 ovi 开发人员证书签署您的应用程序并将 UID 更改为提供的受保护 UID 时,只有 symbian 签署您的应用程序才会允许您将其安装在设备上。提供开发人员证书只是为了允许您的应用程序访问受限功能,例如 redadevicedata writedevicedata 等
。tl;dr 使用不受保护的 uid 进行测试,更改为 ovi 提供的 uid 进行发布。
When you sign your application with the ovi developer cert and change UID to a supplied protected UID, only symbian signing your application will let you install it on a device. The developer certificates are provided only to allow your app to access restricted capabilities like redadevicedata writedevicedata etc.
tl;dr use unprotected uid to test , change to ovi supplied uid to publish.