osx - Qt: How get rid of grey bar at the top of the window (below the title 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
Post a Comment