qt_android_post_build_gradle_cleanup

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

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

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

Note: この変数は、Androidプラットフォームをターゲットにしている場合にのみ使用されます。

Android パッケージのビルドが完了し、APK が作成されたら、Gradle のクリーンタスクを実行してビルドの成果物を削除します。これは、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.