QT_QML_SKIP_QMLDIR_ENTRY

将文件从 QML 模块的 typeinfo 文件中排除,使其不被添加为类型。

该属性自 Qt 6.2 起引入。

将此属性设置为TRUE ,可防止.qml 文件作为类型被添加到QML模块的typeinfo文件中(参见“自动生成qmldir 和typeinfo文件”)。

另请参阅 qt_target_qml_sources。

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