Hi,
I don't know why my system buttons (minimize, close,...) on the top-left corner of window are disabled when displaying on Mac OS thought it has no problem on Windows?
Please help me!
Thanks a lot.
Hi,
I don't know why my system buttons (minimize, close,...) on the top-left corner of window are disabled when displaying on Mac OS thought it has no problem on Windows?
Please help me!
Thanks a lot.
What window flags did you set?
Is it a QDialog or a QMainWindow?
I am using the following function for all my dialogs (inherited from QDialog):
setWindowFlags( Qt::Window | Qt::WindowMinimizeButtonHint | Qt::WindowSystemMenuHint);
I wonder why it works on Windows (buttons is enabled) but Mac is not.
Thanks for your reply.
Bookmarks