qt_qml_skip_qmldir_entry

将文件排除在 QML 模块的 typeinfo 文件之外。

此属性在 Qt 6.2 中引入。

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

另请参阅 qt_target_qml_sources

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