osx - Qt: How get rid of grey bar at the top of the window (below the title bar)? -


window weird grey bar

i'm trying make simple qt application, after creating 1 according example @ http://doc.qt.io/qt-5/qtwidgets-mainwindows-menus-example.html, weird grey bar @ top of window, right under title bar not want.

can tell me grey bar called can find documentation on it, , maybe tell me how remove it?

that menu bar without menus on it. if you're using qt designer, can right-click on , select "remove menu bar". if want remove in code, believe should call qmainwindow::setmenubar (0).

more likely, you'll want add menu items rather remove it, depends on want application.


Comments

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -