summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire@kdab.com>2016-01-21 10:08:33 +0100
committerPaul Lemire <paul.lemire@kdab.com>2016-01-23 07:45:52 +0000
commit262ca80c2c3185a585a8494d36190d2a103e73f5 (patch)
tree32b963b1a81fa25e90a8fd1d2a2ef54d767d9eeb
parent44b11b5488a03f1b5d426f9e73458eb9cde205c9 (diff)
tessellation-modes: add QInputSettings component
Change-Id: I01104a56bb1ece1ca3b77a728720a596323a5386 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
-rw-r--r--examples/qt3d/tessellation-modes/main.qml5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/qt3d/tessellation-modes/main.qml b/examples/qt3d/tessellation-modes/main.qml
index e2b06f21f..1e8583a54 100644
--- a/examples/qt3d/tessellation-modes/main.qml
+++ b/examples/qt3d/tessellation-modes/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: root
@@ -51,7 +52,9 @@ Entity {
camera: mainCamera
clearColor: "black"
}
- }
+ },
+ // Event Source will be set by the Qt3DQuickWindow
+ InputSettings { }
]
BasicCamera {