Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
6.5
Description
Code like
import QtQuick Window { id: win width: 640 height: 480 visible: true title: "Sandbox" Rectangle { width: 100 height: 100 color: "green" MouseArea { anchors.fill: parent cursorShape: enabled && Qt.styleHints.useHoverEffects ? Qt.PointingHandCursor : Qt.ArrowCursor } } }
makes the compiler claim
Warning: main.qml:28:55: Property "useHoverEffects" not found on type "QObject" [missing-property] cursorShape: enabled && Qt.styleHints.useHoverEffects ? Qt.PointingHandCursor : Qt.ArrowCursor ^^^^^^^^^^^^^^^ Warning: main.qml:28:55: Could not compile binding for cursorShape: Cannot load property useHoverEffects from QObject of QtObject::styleHints with type QObject. [compiler] cursorShape: enabled && Qt.styleHints.useHoverEffects ? Qt.PointingHandCursor : Qt.ArrowCursor ^^^^^^^^^^^^^^
.