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

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