how to display the icon in taskbar if the flag is set Qt.FramelessWindowHint qml
-
@mostefa
I found a solution. In qml there is an Import Statement: QtWinExtras 1.0 which is responsible for the buttons in the taskbar.
Here is a simple exampleimport QtQuick 2.7 import QtWinExtras 1.0 ApplicationWindow { id: applicationWindow visible: true width: 1200 height: 640 title: qsTr("Hello World") flags: Qt.Window | Qt.FramelessWindowHint TaskbarButton { overlay.iconSource: "link to picture" } }