NO cancel "X" appears in Qt application window
-
Hello, In my application i have 2 windows when i ran my Qt widget program it built correctly . In application output for first window there is no the cancel 'X' in the right-upper corner and also no title displayed which i set using setWindowtitle() but it appears in second window. So how to get cancel option for first window too?
-
Hello, In my application i have 2 windows when i ran my Qt widget program it built correctly . In application output for first window there is no the cancel 'X' in the right-upper corner and also no title displayed which i set using setWindowtitle() but it appears in second window. So how to get cancel option for first window too?
Hi @shree_121,
can you please show a screenshot of your problem?
-
Hi
Do you call setWindowsFlags or something?
Also this is on windows ? -
@shree_121
hi
Just to rule out a broken installation.
Could you try a default GUI project? -
@shree_121 Do you run a window manager?
-
@shree_121
hehe. well the windows manager draws the decorations.
so no windows manager, no decorations such as frames and close icons etc. :)