QT_DEPLOY_IGNORED_LIB_DIRS

Directories that are excluded from runtime dependencies search

This variable is defined by the script named by QT_DEPLOY_SUPPORT . It should only be used as part of deployment during installation or a post-build rule.

This variable was introduced in Qt 6.5.

This variable contains a list of directories that are not taken into account when searching for runtime dependencies with qt_deploy_runtime_dependencies .

Projects may alter this variable before calling qt_deploy_runtime_dependencies to control from which directory runtime dependencies are deployed.

This variable is ignored if the POST_EXCLUDE_REGEXES option is specified in the qt_deploy_runtime_dependencies 调用。

This variable is not meaningful when deploying on macOS or Windows.

另请参阅 qt_deploy_runtime_dependencies .