I have been having problems adding a menu item to the built in menu bar in a Qt desktop application. I copied the code provided in the QMainWindow class reference documentat
I had same issued in ubuntu with python
I used menubar's setNativeMenubar method. You can find this in c++ pyqt docs.
menu = self.menuBar() menu.setNativeMenuBar(False)