summaryrefslogtreecommitdiffstats
path: root/examples/qt3d
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qt3d')
-rw-r--r--examples/qt3d/gooch-qml/main.qml5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/qt3d/gooch-qml/main.qml b/examples/qt3d/gooch-qml/main.qml
index abed8974b..065343eea 100644
--- a/examples/qt3d/gooch-qml/main.qml
+++ b/examples/qt3d/gooch-qml/main.qml
@@ -36,6 +36,7 @@
import Qt3D.Core 2.0
import Qt3D.Render 2.0
+import Qt3D.Input 2.0
import QtQuick 2.2 as QQ2
Entity {
@@ -48,7 +49,9 @@ Entity {
ForwardRenderer {
camera: mainCamera
}
- }
+ },
+ // Event Source will be set by the Qt3DQuickWindow
+ InputSettings { }
]
Camera {