Auf dieser Seite

Qt Labs Platform QML Types

Das experimentelle Qt Labs Platform Modul stellt QML-Typen für native Plattformerweiterungen bereit. Diese QML-Typen arbeiten in Verbindung mit Qt Quick und Qt Quick Controls.

Die QML-Typen können mithilfe der folgenden Importanweisung in Ihrer .qml-Datei in Ihre Anwendung importiert werden:

import Qt.labs.platform

QML-Typen

Menu

Ein natives Menü

MenuBar

Eine native Menüleiste

MenuItem

Ein natives Menüelement

MenuItemGroup

Eine Gruppe zur Verwaltung nativer Menüeinträge

MenuSeparator

Ein natives Menütrennzeichen

SystemTrayIcon

Ein Symbol in der Taskleiste

Hinweis: Es kann nicht garantiert werden, dass die Typen in den Qt.labs-Modulen in zukünftigen Versionen kompatibel bleiben.

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