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.