summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire@kdab.com>2016-01-21 10:06:10 +0100
committerPaul Lemire <paul.lemire@kdab.com>2016-01-23 07:45:30 +0000
commitee59e9fb690da8586b76aa1ab21ec19509fb70f7 (patch)
treec0072e86eafd05ff3541575b792d92e3447d3bd3
parent57dce684d3d2ed812c1cfc7ce726657f0edb53ba (diff)
simple-shaders-qml: add QInputSettings component
Change-Id: I30398143e3260ec56fe90afd7b6b7d8f1ef8232b Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
-rw-r--r--examples/qt3d/simple-shaders-qml/main.qml5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/qt3d/simple-shaders-qml/main.qml b/examples/qt3d/simple-shaders-qml/main.qml
index b51a25712..b10834c61 100644
--- a/examples/qt3d/simple-shaders-qml/main.qml
+++ b/examples/qt3d/simple-shaders-qml/main.qml
@@ -37,6 +37,7 @@
import QtQuick 2.2 as QQ2
import Qt3D.Core 2.0
import Qt3D.Render 2.0
+import Qt3D.Input 2.0
Entity {
id: sceneRoot
@@ -61,7 +62,9 @@ Entity {
clearColor: Qt.rgba(0, 0.5, 1, 1)
camera: camera
}
- }
+ },
+ // Event Source will be set by the Qt3DQuickWindow
+ InputSettings { }
]
TorusMesh {