Closed aoloe closed 7 years ago
from the qt documentation:
http://doc.qt.io/qt-5/osx-issues.html
Each QAction has a menuRole property which controls the special placement of application menu items; however by default the menuRole is TextHeuristicRole which mean the menu items will be auto-detected by their text.
I would not go for an heuristic.
I could solve this by using MenuActions (as in Qt): 9bbaae2b41b
if i define
i get a menu item that will automatically call
uiOnShouldQuit()
which should then be defined.i would preferable to create the quit menu as a normal menu entry and further marking it something special.