Details
Description
qtdeclarative/examples/quick/pointerhandlers/components/MouseFeedbackSprite.qml has this:
Image {
source: "images/mouse_left.png"
visible: handler.point.pressedButtons & Qt.LeftButton
}
It's ok in 6.3.1, 6.2 and earlier, but in 6.4 and later it generates TypeError:
qrc:/qt/qml/pointerhandlers/components/MouseFeedbackSprite.qml:27: TypeError: Type error
The property is from here
class Q_QUICK_PRIVATE_EXPORT QQuickHandlerPoint {
Q_GADGET
...
Q_PROPERTY(Qt::MouseButtons pressedButtons READ pressedButtons)
Attachments
For Gerrit Dashboard: QTBUG-109007 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
446584,7 | Fix comparison AOT-lookup and intended type in value types | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
446910,4 | Fix comparison AOT-lookup and intended type in value types | 6.4 | qt/qtdeclarative | Status: MERGED | +2 | 0 |