[solved] Removing of WindowMaximizeButtonHint makes the window non-resizable? (Qt 5, Mac)
-
wrote on 14 Jan 2014, 21:01 last edited by
Removing of WindowMaximizeButtonHint in Qt5.2.0 (was ok in Qt4) makes window/dialog non resizable on Mac. 10.9.1. Is that normal or is it a bug? Is there any workaround?
Thanks.
-
Hi,
What exact version of Qt are you using on which version of OS X ?
-
wrote on 14 Jan 2014, 21:21 last edited by
5.2, 10.9.1
-
Can you provide a minimal sample that reproduces this ?
-
wrote on 14 Jan 2014, 21:44 last edited by
It's called windowflags sample, default sample that comes with Qt
examples/widgets/widgets/windowflags -
Looking at the sources, it looks like It's normal.
You can use the code shown "here":http://qt-project.org/forums/viewthread/27728 to adjust the flags of your widget exactly the way you want it
-
wrote on 15 Jan 2014, 00:09 last edited by
Thank you, looks promising
-
If this solves your problem, don't forget to update the thread title prepending [solved] so other forum users may know a solution as been found :)
-
wrote on 15 Jan 2014, 22:52 last edited by
Done. Seems like Qt5 changed this behaviour to match Mac policy about it.
-
AFAIK yes, that's the goal
4/10