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.

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

注意: 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. Set QT_NO_COLLECT_BUILD_TREE_APK_DEPS to TRUE to disable this behavior.

另请参阅 qt_finalize_project() and QT_NO_COLLECT_IMPORTED_TARGET_APK_DEPS .