Hi Qt developers,

I migrated qtpanel from Qt4 to Qt5
but setAttribute(Qt::WA_X11NetWmWindowTypeDock, true) has NO effect for
Qt5 https://github.com/xiangzhai/qtpanel/blob/master/panelwindow.cpp#L138

qtpanel-qt4 snapshot
https://www.dropbox.com/s/nwebtd03fy4sght/qtpanel-qt4.png

BUT qtpanel-qt5 https://www.dropbox.com/s/dxt7z5ya26fr6ss/qtpanel-qt5.png

I need to setWindowFlags(Qt::FramelessWindowHint |
Qt::CustomizeWindowHint) to act like a dock for Qt5? but there is no
need for Qt4.

Please someone give me some advice, thanks a lot!

Regards,
Leslie Zhai <xiang.z...@i-soft.com.cn>
_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to