Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.1.0 Beta 1
-
None
-
OSX 10.7.5
-
-
a09a867de081b4e335ce36b7377ce33abcd3e142 1faafdbe4a9ef79c9afec8d9a5e8c126a1384d9a
Description
If I use a QMenuBar on OSX, menu entries with a string containing "preferences" or "about" are reordered/handled in a special way, so that it mimics the look and feel of a native OSX application.
Those entries appear in the most left menu entry with the name of the application.
This worked well with Qt4.x.
Since Qt5 the TextHeuristicRole does not work anymore - those entries are not detected. If I change the role to "PreferencesRole" for the entry with the "preferences" string, it basically works (= the entry is where it belongs) but the empty menu entry is still present.
I'v attached a small test project to show what I mean.