Qt Labs Platform QML Types | Qt Labs Platform 5.9

Qt 5.9 | Qt Labs Platform | Qt Labs Platform QML Types

Qt 5.9.4 Reference Documentation

# 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 2.

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

      import Qt.labs.platform 1.0

## QML Types

ColorDialog | A native color dialog
Dialog | Base class of native dialogs
FileDialog | A native file dialog
FolderDialog | A native folder dialog
FontDialog | A native font dialog
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
MessageDialog | A native message dialog
StandardPaths | Provides access to the standard system paths
SystemTrayIcon | A system tray icon

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

## Related Information

- Qt Quick Controls 2 QML Types