Description
The following example demonstrates. Both hslLightness and Qt.hsva() cease to function correctly once the Qt3D import is included.
import QtQuick 2.0 //import Qt3D.Core 2.0 // uncomment to see errors Item { property color myColor: "red" Component.onCompleted: { console.log(myColor.hslLightness) myColor = Qt.hsva(1,0,1,1) } }
The Qt3D color handling code should be updated to match the latest QtQuick code, so behavior is identical.
Attachments
For Gerrit Dashboard: QTBUG-75551 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
261866,2 | Update Qt3D color handling | 5.12 | qt/qt3d | Status: MERGED | +2 | 0 |