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

How to understand 2 main() functions after using uftrace to profile the C++ program? -

c# - Update a combobox from a presenter (MVP) -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -