Qt6 QML 的 CMake 全局变量

CMake 命令 知道下列全局 CMake 变量:

QT_QML_GENERATE_AOTSTATS

Controls whether QML Compiler statistics collection is enabled.

QT_QML_GENERATE_QMLLS_INI

Enables autogeneration of .qmlls.ini files for QML Language Server.

QT_QML_GENERATE_QMLLS_INI_NO_CMAKE_CALLS

Customizes the value of no-cmake-calls in .qmlls.ini files for QML Language Server.

QT_QML_NO_CACHEGEN

Disables compilation of QML files into bytecode or C++ code.

QT_QML_OUTPUT_DIRECTORY

Base output directory below which QML modules will be created by default.