QT_QMLLINTER_TARGETS_FOLDER

设置属于 QML 代码检查器的目标的 FOLDER 属性。

该属性在 Qt 6.5 中引入。

注意:该 属性目前处于技术预览阶段,未来版本中可能会发生变化。

与 QML 代码检查器相关的目标的FOLDER名称。

默认情况下,此属性的值为QmlLinter 。

只有当 CMake 的USE_FOLDERS属性为ON 时,此属性才生效。

您可以通过调用qt_standard_project_setup() 来启用文件夹支持。

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