qt_android_deployment_type
强制或禁用发行版软件包签名,与构建类型无关。
此变量在 Qt 6.7 中引入。
注意: 此变量为技术预览版,可能会在未来的版本中更改。
注: 此变量仅在针对 Android 平台时使用。
当设置为Release
时,无论应用程序的构建类型如何,都会将--release
标志传递给androiddeployqt
工具。当设置为其他值时,--release
标志永远不会传递给工具,这将有效禁用发布包签名,即使在 Release 或 RelWithDebInfo 构建中也是如此。未设置时,默认行为是在除调试外的构建类型中使用发布软件包签名。
另请参阅 androiddeployqt。
© 2025 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.