Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
6.0.0, 6.0.1, 6.1.0 Alpha
-
None
-
-
249db12b6020cc3a8f04841b1e28cd529f4929d9 (qt/qtdeclarative/dev) e7b03676349ba309d0c0bb3392d7b0cf701e9a53 (qt/qtdeclarative/6.2)
Description
Qt's documentation says there's a property called "palette" in Window, and it was introduced in Qt 6.0, however, when I was trying to set a QPalette to it, the QML engine warns about "palette" is a non-existent property and failed to load the component.
import QtQuick Window { width: 640 height: 480 visible: true palette.mid: "purple" Rectangle { anchors.fill: parent color: palette.mid } }
Attachments
For Gerrit Dashboard: QTBUG-91365 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
350519,7 | Add missing palette property to QQuickWindow | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
354403,2 | Add missing palette property to QQuickWindow | 6.2 | qt/qtdeclarative | Status: MERGED | +2 | 0 |