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 缓存编译的 QML 源 ).

另请参阅 qt_target_qml_sources .