Qt 6.11 is out! See what's new in the release
blog
为什么用C++写文本的时候,双引号中文本内容需要'&'置前, 例如"&Open"
-
'&'让您创建一个热键/快捷键 。
- "&Open" -> Alt+O
- "&File" -> Alt+F
- "E&xit" -> Alt+X
请看 https://doc.qt.io/qt-5/qmenubar.html#details 或 https://doc.qt.io/qt-5/qshortcut.html#details
