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
}