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
目录。
教程章节:
QML Static Analysis 1 - Basic Setup