Qt5 Qt::FramelessWindowHint doesn't add an window entry in the taskbar
-
I am trying to create a custom design window in Qt5 with QML, but whenever I set the
@setFlags(Qt::FramelessWindowHint);@QtQuick2ApplicationViewer it doesn't create a window entry in the taskbar. I can't open it with the "Alt+Tab" menu too. Is that a bug, because according to the Qt5 documentation the FramelessWindowHint just removes the window border and title bar.
Is there a way around?
P.S. Windows 8, MinGW, Qt5, QtQuick 2. Also I am using QApplication instead of QGuiApplication because I am using some old-style QWidget based dialogs.
-
Try this
@view->setFlags(Qt::FramelessWindowHint
| Qt::WindowSystemMenuHint
| Qt::WindowMinimizeButtonHint
| Qt::Window);@It works for me but when I try to hide window with QML button
@onButtonClick: _view.showMinimized();@
I see this (in debug, not release)
!http://img825.imageshack.us/img825/4854/snag0001.png(Assertion Failed!)!But if I click on icon in the taskbar all works fine.