QML 静的解析チュートリアル

このチュートリアルでは、QML コードを静的に解析するための API であるQQmlSA の概要を説明します。

このチュートリアルの各ステップを通じて、基本的な qmllint プラグインの設定方法を学び、独自のカスタム解析パスを作成し、fixit-hints のサポートを追加していきます。

第1章では最小限のプラグインから始め、以降の章で新しい概念を紹介していきます。

チュートリアルのソースコードは、examples/qmlcompiler/tutorials/helloworld ディレクトリにあります。

チュートリアルの章構成:

  1. 基本設定
  2. カスタムパス
  3. Fixitのヒント

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