Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Mac QT Creator: How to add QMenuBar from Design tool?
DannyatKDA last edited by DannyatKDA
On March 30, I have installed eval version of QT V5.6 Enterprise on Mac OS 10.10 (Yosemite) and I am trying to follow: http://doc.qt.io/qt-5/gettingstartedqt.html
and it mentions MenuBar which no longer seems to be available. [Actually on Windows, it shows up fine. On Mac, it doesn't get created when making a new project. When I copy Windows' version of the project to the Mac, it all works fine.]
How does one create MenuBar and ToolBars on Mac when starting from scratch? [Do some settings need to be set for the Mac? If so, then the tutorial needs to get updated...]
[I have ran several examples on both Mac and Windows and they all seem to run OK so I'm pretty sure my setup is correct.]
Hi and welcome to devnet,
On OS X the MenuBar can be found at the top of the screen. Is it that one you are looking for ?
DannyatKDA last edited by
No, when I create a new project, I get two different results:
Notice that Mac version does not have MenuBar's "Type Here" text.
If I copy the Windows project over, then I can edit and use the MenuBar....
Probably because on OS X the default menu bar is provided by the OS. See QMenuBar's documentation for more details.
However I don't know if it's an OS X specific behavior of Qt Creator.