Keep QDialog modeless widget on top of parent QMainWindow, Mac OS X
We're porting our app written in Qt 4.8 to Mac OS X. Our app mainly consists of two widgets: a parent QMainWindow and a child modeless QDialog. On both Windows and Linux, the child is always on top of the parent. But on Mac OS X, the child window is usually buried beneath window stack even if the parent window gets focus. How can I solve this issue? Thanks.
This should work
Which version of Qt are you using ? On which version of OS X ?