Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.11
-
macOS
-
-
923e7c26fde2bc42d04902441691b7f7667460a7
Description
import QtQuick 2.7 import QtQuick.Controls 2.3 import Qt.labs.platform 1.0 as Platform ApplicationWindow { id: root visible: true width: 640 height: 480 Platform.MenuBar { Platform.Menu { title: "File" Platform.Menu { title: "Recent Files" Platform.MenuItem { text: "A" } Platform.MenuItem { text: "B" } } } Platform.Menu { title: qsTr("File") Platform.Menu { id: subMenu title: qsTr("Recent Files") Platform.MenuItem { text: "A" } Platform.MenuItem { text: "B" } } } } }
Works on Windows.
Attachments
Issue Links
- is duplicated by
-
QTBUG-67739 qsTr does not seem to work in Qt.labs.platform Menu
- Closed