How to hide the menu bar
-
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.
-
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.
@summit
Before you go any further, why are you using aQWindow?An application will typically use
QWidget[...] for its UI, and notQWindowdirectly.Separately:
Qt::WindowFlags flags;flags = Qt::FramelessWindowHint;This code assigns a local variable. We don't know what you actually do with
flags....