How can I disable the native menubar on the Mac?
Entry number: 565 - How can I disable the native menubar on the Mac?
Answer:
The function to do this is qt_mac_set_native_menubar(bool b), but you will have to extern it in your code. You can find this function in qmenu_mac.cpp. For example:
...
extern qt_mac_set_native_menubar(bool);
qt_mac_set_native_menubar(false);
...
Note that you can only disable the menubar at application start up, before the menubar has been created.


