It would be useful if you posted a screenshot of what your application looks like on Linux and what it looks like when you run it on Mac OSX. However, the Qt documentation for QMenuBar says the following:
So, if you find that your child widget menu-bars do not display in the child widgets, it may be that this feature simply does not exist in the Mac version of Qt. You may be able to reproduce it using a horizontal layout of QLabels or QToolButtons, with context menus attached to each of the widgets. If you do this on the Mac, it might be easier to do the same on Linux.QMenuBar on Qt/Mac
QMenuBar on Qt/Mac is a wrapper for using the system-wide menubar. If you have multiple menubars in one dialog the outermost menubar (normally inside a widget with widget flag Qt::Window) will be used for the system-wide menubar.




Reply With Quote
Bookmarks