Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.0.0
-
None
-
0755302f0b3723ecccc78cedf394f264beef860f
Description
The code below crashes but changing the ShaderEffect's source property type to variant works fine and renders red as expected.
Rectangle { id: rect width: 360 height: 360 property variant src: ShaderEffectSource { sourceItem: srcRect } Rectangle { id: srcRect color: "red" width: 100 height: 100 } ShaderEffect { anchors.fill: parent // Changing this to variant works property alias source: rect.src } }
Attachments
Issue Links
- resulted in
-
QTBUG-22464 Variant alias properties cannot be converted
- Closed