QT_QML_SKIP_CACHEGEN

Excludes a file from being compiled to byte code.

该特性在 Qt 6.2 引入。

把此特性设为 TRUE to prevent the .qml file from being compiled to byte code. The file will still be added to the target as a resource in uncompiled form (see Caching compiled QML sources ).

另请参阅 qt_target_qml_sources .