Qt QML Compiler C++ Classes

Qt QML Compiler 模块为 QML 代码的静态分析提供了工具。更多

该模块处于技术预览状态。

命名空间

QQmlSA

为 QML 程序提供静态分析工具

QQmlSA::Binding

代表特定类型的单一 QML 属性绑定

QQmlSA::Binding::Bindings

持有多个属性名称到属性绑定的关联

QQmlSA::Element

代表一个 QML 类型

QQmlSA::ElementPass

元素上所有静态分析传递的基类

QQmlSA::FixSuggestion

代表对源代码中问题的建议修复

QQmlSA::GenericPass

静态分析传递的基类

QQmlSA::LintPlugin

所有静态分析插件的基类

QQmlSA::LoggerWarningId

在QQmlSA框架中唯一标识警告类别的字符串字面的包装器

QQmlSA::Method

代表一个QML方法

QQmlSA::Method::Methods

持有多个方法名到方法的关联

QQmlSA::PassManager

可通过静态分析传递分析一个元素及其子元素

QQmlSA::Property

代表一个 QML 属性

QQmlSA::PropertyPass

所有属性静态分析传递的基类

QQmlSA::SourceLocation

代表源代码中的位置或区域

详细描述

有关 Qt QmlCompiler 模块的更多信息,请参阅 Qt QML Compiler模块文档。

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