QT_ANDROID_DEPLOYMENT_TYPE

ビルドの種類にかかわらず、リリースパッケージの署名を強制または無効にします。

この変数はQt 6.7で導入されました。

注:この変数は 、Androidプラットフォームを対象とする場合にのみ使用されます。

Release に設定すると、アプリケーションのビルドタイプにかかわらず、--release フラグがandroiddeployqt ツールに渡されます。他の値に設定された場合、--release フラグはツールに渡されず、これによりReleaseまたはRelWithDebInfoビルドであっても、リリースパッケージの署名が事実上無効になります。設定されていない場合、デフォルトの動作として、Debug以外のビルドタイプではリリースパッケージの署名が行われます。

この変数は、CMake プロジェクトファイル内で設定するものではありません。代わりに、コマンドライン上でプロジェクトを構成する際、または IDE の CMake 設定で設定してください。

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.