QT_ANDROID_SIGN_APK
使用指定的密钥库、别名和存储密码对包进行签名。
该变量在 Qt 6.4 中引入。
注意:该 变量处于技术预览阶段,未来版本中可能会发生变化。
注意: 仅当目标平台为 Android 时才使用此 变量。
对生成的包进行签名。必须通过额外的环境变量指定密钥库文件的路径、密钥的别名以及密码:
QT_ANDROID_KEYSTORE_PATH
QT_ANDROID_KEYSTORE_ALIAS
QT_ANDROID_KEYSTORE_STORE_PASS
QT_ANDROID_KEYSTORE_KEY_PASS上述变量由androiddeployqt 在内部使用。
另请参阅 androiddeployqt。
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.