QT_NO_COLLECT_BUILD_TREE_APK_DEPS | Qt Core | Qt 6.11.0
Description: Prevents collecting of project-built shared library targets during Android deployment.

- Qt 6.11
- Qt Core
- CMake Variables in Qt6 Core
- QT_NO_COLLECT_BUILD_TREE_APK_DEPS
- Qt 6.11.0 Reference Documentation

# QT_NO_COLLECT_BUILD_TREE_APK_DEPS

Prevents collecting of project-built shared library targets during Android deployment.

This variable was introduced in Qt 6.3.

Note: This variable is in technology preview and may change in future releases.

Note: This variable is used only if targeting the Android platform.

During project finalization, the build system collects the locations of all built shared library targets in the project. These locations are passed to androiddeployqt for deployment consideration when resolving dependencies between libraries. To disable this behavior, set this variable to `TRUE`.

See also qt_finalize_project() and QT_NO_COLLECT_IMPORTED_TARGET_APK_DEPS.