QML-Lernprogramm zur statischen Analyse

Dieses Tutorial gibt eine Einführung in QQmlSA, die API zur statischen Analyse von QML-Code.

In den verschiedenen Schritten dieses Tutorials werden wir lernen, wie man ein grundlegendes qmllint-Plugin einrichtet, wir werden unseren eigenen benutzerdefinierten Analysedurchlauf erstellen und wir werden Unterstützung für fixit-hints hinzufügen.

Kapitel eins beginnt mit einem minimalen Plugin und die folgenden Kapitel führen neue Konzepte ein.

Der Quellcode des Tutorials befindet sich im Verzeichnis examples/qmlcompiler/tutorials/helloworld.

Tutorial-Kapitel:

  1. Grundlegende Einrichtung
  2. Benutzerdefinierter Pass
  3. Fixit-Hinweise

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