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