I would like to change the colour of the (top) border and the titlebar of the window of my application in Qt 5.5, but can't find any solution. I know I can create a frameless windows (but then resizing doesn't work) and style my own window, I can also change the background colour of the window, but the border colour. I think there is probably since most apps in Windows 10 are able to do this.
来源:https://stackoverflow.com/questions/32251399/how-to-change-the-titlebar-color-of-a-window-in-a-qt-qml-application