I have a Qt window with the following flags:
Qt::CustomizeWindowHint
|Qt::Tool
|Qt::WindowCloseButtonHint
|Qt::WindowTitleHint
|Qt::MSWindowsFixedSizeDialogHint
On Mac, it has a resizable corner. How can I get rid of it? Specifying
setSizePolicy(QSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed));
does not help. In fact, with the fixed-size policy the window acts weird when I try to resize - it disappears from foreground and becomes disabled for some reason.
I don't mind dropping to the native API level.
这是在Qt FAQ中 。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.