summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/shadow-map-qml
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire@kdab.com>2016-01-21 10:04:59 +0100
committerPaul Lemire <paul.lemire@kdab.com>2016-01-23 07:45:22 +0000
commit57dce684d3d2ed812c1cfc7ce726657f0edb53ba (patch)
tree9be5ba901f18f36cce844144513a3f577933dc86 /examples/qt3d/shadow-map-qml
parente043e2f6c9445d0651ac383eba2944bd7d31b06e (diff)
shadow-map-qml: add QInputSettings component
Change-Id: I9b6fc713b72f9dc202e6d1122a0e84299711fcaa Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'examples/qt3d/shadow-map-qml')
-rw-r--r--examples/qt3d/shadow-map-qml/main.qml5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/qt3d/shadow-map-qml/main.qml b/examples/qt3d/shadow-map-qml/main.qml
index d42401f60..9ed66dcbf 100644
--- a/examples/qt3d/shadow-map-qml/main.qml
+++ b/examples/qt3d/shadow-map-qml/main.qml
@@ -37,6 +37,7 @@
import QtQuick 2.1 as QQ2
import Qt3D.Core 2.0
import Qt3D.Render 2.0
+import Qt3D.Input 2.0
Entity {
id: sceneRoot
@@ -64,7 +65,9 @@ Entity {
id: framegraph
viewCamera: camera
lightCamera: light.lightCamera
- }
+ },
+ // Event Source will be set by the Qt3DQuickWindow
+ InputSettings { }
]