Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to hide the menu bar
summit last edited by
I want to hide the top menu bar in my QWindow application.
i have a widget which has black color i want it to become fullscreen without the menu bar.
I have given the Frame less window hint but still i get the menu bar.
Qt::WindowFlags flags; flags = Qt::FramelessWindowHint;
But still the menu bar is visible.
JonB last edited by JonB
Before you go any further, why are you using a
An application will typically use
QWidget[...] for its UI, and not
flags = Qt::FramelessWindowHint;
This code assigns a local variable. We don't know what you actually do with