I'm trying to make a simple Qt application, but after creating one according to the example at http://doc.qt.io/qt-5/qtwidgets-mainwindows-menus-example.html, I get a weird grey bar at the top of the window, right under the title bar that I do not want.
Can anyone tell me what this grey bar is called so I can find documentation on it, and maybe even tell me how to remove it?
That is probably a menu bar without any menus on it. If you're using Qt Designer, you can right-click on it and select "Remove Menu Bar". If you want to remove it in code, I believe you should call QMainWindow::setMenuBar (0)
.
More likely, you'll want to add menu items to it rather than remove it, but that depends on what you want to do with your application.