qt_deploy_ignored_lib_dirs
从运行时依赖关系搜索中排除的目录
此变量由QT_DEPLOY_SUPPORT 命名的脚本定义。它只能作为安装过程中部署的一部分或编译后规则使用。
注意: 这是一个低级部署 API 变量,只能在高级 API 命令(如qt_generate_deploy_app_script)未涵盖的高级用例中使用。
此变量在 Qt 6.5 中引入。
该变量包含一个目录列表,在使用qt_deploy_runtime_dependencies 搜索运行时依赖项时,这些目录不会被考虑在内。
项目可以在调用qt_deploy_runtime_dependencies之前修改这个变量,以控制从哪个目录部署运行时依赖项。
如果在调用qt_deploy_runtime_dependencies 时指定了POST_EXCLUDE_REGEXES
选项,这个变量将被忽略。
在 macOS 或 Windows 上部署时,该变量没有意义。
© 2025 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.