summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire@kdab.com>2016-01-21 09:53:47 +0100
committerPaul Lemire <paul.lemire@kdab.com>2016-01-23 07:44:11 +0000
commitd045ea020dabbf20637356bc1253df065eebcbb2 (patch)
treee5d4c657ac3b19d54ec21c7fc5c48358be4182f7 /examples
parent92443e5351e5b0cc910ba47a3079d810c176e05f (diff)
custom-mesh-qml: Add QInputSettings component
Change-Id: I9993f861b7136c643f308293cf4ef13014a2d9f8 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/qt3d/custom-mesh-qml/main.qml5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/qt3d/custom-mesh-qml/main.qml b/examples/qt3d/custom-mesh-qml/main.qml
index cb7175b07..88920f3f0 100644
--- a/examples/qt3d/custom-mesh-qml/main.qml
+++ b/examples/qt3d/custom-mesh-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.5, 0.5, 1, 1)
camera: camera
}
- }
+ },
+ // Event Source will be set by the Qt3DQuickWindow
+ InputSettings { }
]
PerVertexColorMaterial {