QML Static Analysis Tutorial | Qt QML Compiler 6.7.3
Description: An introduction on writing your own qmllint checks

- Qt 6.7
- Qt QML Compiler
- QML Static Analysis Tutorial
- Qt 6.7.3 Reference Documentation

QML Static Analysis 1 - Basic Setup

# QML Static Analysis Tutorial

This tutorial gives an introduction to QQmlSA, the API to statically analyze QML code.

Through the different steps of this tutorial we will learn about how to set up a basic qmllint plugin, we will create our own custom analysis pass, and we will add support for fixit-hints.

Chapter one starts with a minimal plugin and the following chapters introduce new concepts.

The tutorial's source code is located in the `examples/qmlcompiler/tutorials/helloworld` directory.

Tutorial chapters:

1. Basic Setup
2. Custom Pass
3. Fixit Hints

QML Static Analysis 1 - Basic Setup