Do you know how to hide minimize, maximize and close buttons of title bar in Qt. I especially need to hide it on QMainWindow. Set this window flags Qt::Window | Qt::WindowTitleHint | Qt::CustomizeWindowHint Note, that on some platforms it behaves in different way. For example on Mac OS X it Disables, (not hides) close/minimize/maximize buttons ams If you are using Qt qml then, to remove minimize, maximize and close button, set the frameless window flag in the window function in your main.qml file, like below: flags: Qt.FramelessWindowHint lolo67 This can be achived by using an eventFilter on