Details
-
Suggestion
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.2.4
-
None
-
-
21b3c4741 (dev)
Description
It's totally possible to create a QML application that is not using QtWidgets.
However, the only way to make a native application menu now is to use QtWidgets (directly or via Qt.labs.platform, that also depends on it).
Please, add an option to set a native menu to [application] windows, and to set native menu roles (https://doc.qt.io/qt-6/qml-qt-labs-platform-menuitem.html#role-prop such as MenuItem.AboutRole, MenuItem.PreferencesRole).
The QtWidgets module is frozen now. And for apps that doesn't use it, it would be great to not link to it at all, and to not ship it, but to have native menubar (which is pretty much expected at any Mac app).
Attachments
Issue Links
- is required for
-
QTBUG-119988 Review and update "Text Editor" example in Qt Quick Controls
- Reported
- relates to
-
QTBUG-69558 Implement support for native Popups and Menus
- Open