Hi,

I am trying to add a full screen mode to the main window of my application. However, even when I explicitly try to hide the menu-bar, it pops up when I move my cursor to the top of the window.
Qt Code:
  1. MainWindow w;
  2. QMenuBar * pMenuBar = new QMenuBar(0);
  3. pMenuBar ->hide();
  4. w.showFullScreen();
To copy to clipboard, switch view to plain text mode 

Does anyone know of a way I can prevent the system menu-bar from popping up while my widget is in full screen mode?


Thanks,
Ronen