本页内容

Qt Labs Platform

实验性的Qt Labs Platform 模块为原生平台扩展提供了QML类型。该模块于Qt 5.8中引入。

QML 类型

Menu

原生菜单

MenuBar

原生菜单栏

MenuItem

原生菜单项

MenuItemGroup

用于管理原生菜单项的组

MenuSeparator

原生菜单分隔符

SystemTrayIcon

系统托盘图标

注意: Qt.labs 模块中的类型在未来的版本中不保证保持兼容。

模块演变

Qt Quick 中的变更 Qt Labs Platform列出了针对 Qt 6 系列 Qt.labs 模块在 API 和功能方面所做的重大变更。

许可证

Qt Labs Platform 由The Qt Company 提供商业许可。此外,该软件还遵循GNU 弱通用公共许可证第 3 版或GNU 通用公共许可证第 2 版。更多详细信息请参阅Qt 许可。

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