QT_ANDROID_POST_BUILD_GRADLE_CLEANUP

Android パッケージの作成後に Gradle のクリーンアップを実行します。

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

注:この変数は テクノロジープレビュー段階にあり、将来のリリースで変更される可能性があります。

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

Androidパッケージのビルドが完了し、APKが作成されたら、Gradleのcleanタスクを実行してビルドアーティファクトを削除してください。これにより、Qt for Androidプロジェクトが占めるディスク容量を最小限に抑えることができます。

qt_android_generate_deployment_settings()も参照してください 。

© 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.