tags:

views:

42

answers:

0

I have a Qt-based program, and I uses QMainWindow somewhere in the UI part.

This program works fine on both Windows (windows 7) and linux (Ubuntu 10.04), however, when I try to run it on MAC, some UI problem occurs.

The Central widget of QMainWindow shows up correctly, but the frame (where the "minimize", "maximize", "close" buttons should be located) and the menu of QMainWindow all disappear.

so when the QMainWinbdow shows up, I cannot even close it.

How can I make the QMainWindow works correctly on MAC??