Details
Description
When I custom the Window,so I should setWindowFlags(Qt::FramelessWindowHint),and Add Minimize button,When I clicke the button to set Minimize status,It's not effect。
the follow code:
setWindowFlags(Qt::FramelessWindowHint | Qt::Window);
minmize code:
if(gBDFrameView->isMaximized()){ gBDFrameView->showNormal(); }else{ gBDFrameView->showMaximized(); }
but in china some one repair this bug
here is a solution:
open qt source code in qt/qtbase/src/plugins/platforms/cocoa.pro
modify this qcocoawindow.mm
this modified code can find in the attachment