Qt6 Qml の CMake グローバル変数

CMakeコマンドは以下のCMakeグローバル変数について知っています:

QT_QMLLINT_CONTEXT_PROPERTY_DUMP

lint ターゲットのコンテキストプロパティのダンプを有効にします。

QT_QML_GENERATE_AOTSTATS

QML Compiler の統計情報収集を有効にするかどうかを制御します。

QT_QML_GENERATE_QMLLS_INI

QML Language Server の .qmlls.ini ファイルの自動生成を有効にします。

QT_QML_GENERATE_QMLLS_INI_NO_CMAKE_CALLS

QML Language Server の .qmlls.ini ファイルで no-cmake-calls の値をカスタマイズします。

QT_QML_NO_CACHEGEN

QML ファイルのバイトコードまたは C++ コードへのコンパイルを無効にします。

QT_QML_OUTPUT_DIRECTORY

QML モジュールがデフォルトで作成されるベース出力ディレクトリ。

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