Qt5 OS X menubar empty menu-item not hidden
General and Desktop
1
Posts
1
Posters
1.4k
Views
1
Watching
-
I'm using Qt5 on OS X 10.8 and I'm creating an application with a menu bar in Qt Creator. Placing items like
QuitorPreferencesin the application menu works by specifying themenuRoleaccordingly. However, since those items need to be placed in some menu and then get moved automatically by Qt into the application menu I end up with empty menu items.According to "this topic in the forums":http://qt-project.org/forums/viewthread/14610/#75437 the empty items should be hidden but for me they are not.
What I have is this:
- File
** Preferences
** <Separator>
** Quit - Help
** About
Preferences,QuitandAboutare correctly moved to the application menu. UnfortunatelyFileandHelpare still shown. How can I make Qt hide them? - File