On Mac OS, Qt defaults to no buttons at all if no WindowFlag is specified. The attached patch adds the WindowFlags the implementation of QMessageBox uses, too, but without MSWindowsFixedSizeDialogHint. It should fix bug #2849254
The trunk doesn't need fixing, only the stable branch needs it.
Fix against stable_current branch.
Applied in r1236. Thanks. :-)