Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.7
-
None
-
ba3664c4d (dev), 8b2c1352a (6.7), 17f35646b (tqtc/lts-6.5)
-
DaVinci 96
Description
The documentation on doc.qt.io about how to customize Qt Quick Controls includes an example using the deprecated DropShadow QML type instead of a MultiEffect.
Page:tps://doc.qt.io/qt-6/qtquickcontrols-customize.html#customizing-label
Example code:
// ...
import QtGraphicalEffects
import MyStyle
// ...
background: Rectangle {
// ...
layer.enabled: control.enabled && control.MyStyle.elevation > 0
layer.effect: DropShadow
}
Attachments
For Gerrit Dashboard: QTBUG-124428 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
555280,2 | Doc: Replace deprecated Qt Graphical Effects with the MultiEffect type | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
555458,2 | Doc: Replace deprecated Qt Graphical Effects with the MultiEffect type | 6.7 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
555649,2 | Doc: Replace deprecated Qt Graphical Effects with the MultiEffect type | tqtc/lts-6.5 | qt/tqtc-qtdeclarative | Status: MERGED | +2 | 0 |