Qt Labs Platform QML Types

The experimental Qt Labs Platform module provides QML types for native platform extensions. These QML types work in conjunction with Qt Quick and Qt Quick Controls.

The QML types can be imported into your application using the following import statement in your .qml file:

import Qt.labs.platform

QML Types

Dialog

Base class of native dialogs

Menu

A native menu

MenuBar

A native menubar

MenuItem

A native menu item

MenuItemGroup

A group for managing native menu items

MenuSeparator

A native menu separator

SystemTrayIcon

A system tray icon

Note: Types in Qt.labs modules are not guaranteed to remain compatible in future versions.

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