Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.12.2, 5.14.1
Description
Example:
import QtQuick.Scene3D 2.12 import Qt3D.Core 2.12 import Qt3D.Input 2.12 import Qt3D.Render 2.12 import Qt3D.Extras 2.12 import QtQuick.Window 2.12 as QQW import QtQuick 2.12 as QQ2 QQW.Window { visible: true width: 640 height: 480 Scene3D { anchors.fill: parent aspects: ["input", "render"] Entity { components: [ RenderSettings { activeFrameGraph: ForwardRenderer { camera: Camera {} } }, InputSettings {} ] Entity { components: [ MouseHandler { sourceDevice: MouseDevice {} onClicked: console.log("clicked") onDoubleClicked: console.log("doubleClicked") } ] } } } }
Might be related to QTBUG-54067.
Attachments
For Gerrit Dashboard: QTBUG-75219 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
293699,3 | Implement Mouse Click and Double Click on MouseHandler | 5.14 | qt/qt3d | Status: MERGED | +2 | 0 |
293701,3 | Implement Mouse Click and Double Click on MouseHandler | 5.12 | qt/qt3d | Status: MERGED | +2 | 0 |
294414,2 | Implement Mouse Click and Double Click on MouseHandler | 5.15 | qt/qt3d | Status: MERGED | +2 | 0 |