本页内容

Qt Qml Compiler C++ Classes

Qt Qml 编译器模块提供了用于对QML代码进行静态分析的工具。更多内容...

该模块处于技术预览阶段,内容可能会有变动。

命名空间

QQmlSA

提供用于对 QML 程序进行静态分析的工具

类

QQmlSA::Binding

表示针对特定类型的单个 QML 属性绑定

QQmlSA::Binding::Bindings

包含多个属性名称与属性绑定之间的关联

QQmlSA::DocumentEdit

表示对文档的单次编辑

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 编译器模块文档。

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