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.