qt_android_post_build_gradle_cleanup

创建 Android 软件包后执行 Gradle 清理。

此变量在 Qt 6.11 中引入。

注意: 此变量为技术预览版,在未来版本中可能会更改。

注: 此变量仅在针对 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.