QQmlSA Namespace

Provides tools for static analysis on QML programs. More...

Header: #include <QQmlSA>
CMake: find_package(Qt6 REQUIRED COMPONENTS QmlCompiler)
target_link_libraries(mytarget PRIVATE Qt6::QmlCompiler)
Status: Technical Preview

Classes

class Binding
class Element
class ElementPass
class FixSuggestion
class GenericPass
class LintPlugin
class LoggerWarningId
class Method
class PassManager
class Property
class PropertyPass
class SourceLocation

Detailed Description

Classes

class Binding

Represents a single QML property binding for a specific type. More...

class Element

Represents a QML type. More...

class ElementPass

Base class for all static analysis passes on elements. More...

class FixSuggestion

Represents a suggested fix for an issue in the source code. More...

class GenericPass

The base class for static analysis passes. More...

class LintPlugin

Base class for all static analysis plugins. More...

class LoggerWarningId

A wrapper around a string literal to uniquely identify warning categories in the QQmlSA framework. More...

class Method

Represents a QML method. More...

class PassManager

Can analyze an element and its children with static analysis passes. More...

class Property

Represents a QML property. More...

class PropertyPass

Base class for all static analysis passes on properties. More...

class SourceLocation

Represents a location or region in the source code. More...

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