PDA

View Full Version : Ubuntu Unity native menu bar



liversedge
8th May 2011, 09:25
Hi,

How do I get an application menu bar to appear at the top of the screen in Unity on Ubuntu?

I have tried setting QMainWindow::menuBar()->setNativemenuBar(true);

But this has no effect at all. I am using SDK 1.1 (QT 4.7.3).

Regards,
Mark

wysota
8th May 2011, 23:18
It's a matter of making Qt and Gnome work together. You might have more luck asking at some Gnome forum how to teach Gnome to extract the menu bar from Qt apps. If that's possible at all... setNativeMenuBar() has nothing to do with it, it's only for Macs.