"ReferenceError: mouse is not defined" in MouseArea
Unsolved
QML and Qt Quick
-
I'm getting this reference error in my QML file and don't understand why. Here's the lines in question:
import QtQuick 2.5 import QtQuick.Window 2.2 import QtQuick.Layouts 1.1 import QtGraphicalEffects 1.0 ... MouseArea { id: sideBarMouseArea anchors.fill: parent hoverEnabled: true propagateComposedEvents: true onEntered: { mouse.accepted = false } }
Can anyone point out what I missed? Thanks.
-
Hi,
onEntered doesn't provide a mouse parameter.
-
You're welcome !
Since the mystery is gone, please mark the thread as solved using the "Topic Tool" button so that other forum users may know a solution has been found :)