简体   繁体   English

制作未签名的sis-错误:没有规则可以使目标“ unsigned_sis”。 停止

[英]Making an unsigned sis - error: No rule to make target `unsigned_sis'. Stop

I'm trying to make an unsigned sis package of my application, however I get the aforementioned error from QtCreator. 我正在尝试为应用程序制作未签名的sis软件包,但是我从QtCreator收到了上述错误。

What am I doing wrong? 我究竟做错了什么?

Best regards 最好的祝福

I've got the same problem with Qt 4.6.3. 我在Qt 4.6.3中遇到了同样的问题。 Qt 4.7.3 creates unsigned .sis files without any issues, but 4.6.x doesn't. Qt 4.7.3可以创建未签名的.sis文件,而4.6.x则不会。 If the version of Qt isn't important for you, upgrade to 4.7. 如果Qt的版本对您来说并不重要,请升级到4.7。 I'm looking for another way to solve this, because I want to support old devices that don't work with Qt 4.7 我正在寻找另一种方法来解决此问题,因为我想支持无法与Qt 4.7一起使用的旧设备

UPD: I found two ways to create unsigned sis: UPD:我发现了两种创建未签名sis的方法:

  1. Create a signed sis file with QtCreator and remove signature with Syscontents tool 使用QtCreator创建签名的sis文件,并使用Syscontents工具删除签名
  2. Copy template .pkg, edit it a bit and create sis with makesis commandline tool. 复制模板.pkg,对其进行一些编辑,然后使用makeis命令行工具创建sis。

I used the second way, because I use localized installation file. 我使用第二种方法,因为我使用本地化的安装文件。 Localized installations work bad in Qt 4.6.3 out of box, so I had to create custom .pkg file 开箱即用的Qt 4.6.3中的本地化安装无法正常工作,因此我不得不创建自定义.pkg文件

You can't install unsigned application to the phone. 您无法将未签名的应用程序安装到手机上。 Try to sign it and see if it works better 尝试对其进行签名,看看是否效果更好

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

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