Hi,
I've been working on a application, for which I need to remove the Title bar, which window manager usually decorates on the widget. I've tried the following code to remove it

setWindowFlags(Qt::FramelessWindowHint);

but it stills shows up with the title bar!, I've tried every other related flags with OR option to it, but with no luck. Interestingly, this same program works fine with Windows OS, giving no Title bar as expected, but on my Debian Linux its not working at all!

although I know that, some X11 window managers overrides the Qt flags,but I've no idea about Debian's window manager, and even though I've tried the flag Qt::X11BypassWindowManagerHint, it doesn't make any difference on it!

am I missing something basic out here?

any help will be appreciated

Thanks