QT_NO_COLLECT_IMPORTED_TARGET_APK_DEPS

Prevents collecting of imported targets during Android deployment.

This variable was introduced in Qt 6.5.

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

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

When using CMake version 3.21 or later, the build system collects the locations of imported shared library targets that might be relevant for deployment. The collected targets are those that are reachable from the the directory scope of the currently processed executable target. That includes the target's source directory scope and its parents. The collected 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_BUILD_TREE_APK_DEPS.

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