diff options
author | Paul Lemire <paul.lemire@kdab.com> | 2016-01-21 10:09:54 +0100 |
---|---|---|
committer | Paul Lemire <paul.lemire@kdab.com> | 2016-01-23 07:45:59 +0000 |
commit | 64bd95692933e624d72c099f01cd11ff2d6ee264 (patch) | |
tree | 842dac24eea9c1a0167169304e77ad67a0ca3c72 | |
parent | 262ca80c2c3185a585a8494d36190d2a103e73f5 (diff) |
torus-qml: Add QInputSettings component
Change-Id: I416632ce9bf60ce6a494ee35c9a895ebf1a0ea5b
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
-rw-r--r-- | examples/qt3d/torus-qml/main.qml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/qt3d/torus-qml/main.qml b/examples/qt3d/torus-qml/main.qml index fc86231d8..1e4d15d45 100644 --- a/examples/qt3d/torus-qml/main.qml +++ b/examples/qt3d/torus-qml/main.qml @@ -36,6 +36,7 @@ import Qt3D.Core 2.0 import Qt3D.Render 2.0 +import Qt3D.Input 2.0 Entity { id: sceneRoot @@ -62,7 +63,10 @@ Entity { } } - components: [external_forward_renderer] + // Event Source will be set by the Qt3DQuickWindow + InputSettings { id: inputSettings } + + components: [external_forward_renderer, inputSettings] TorusMesh { id: mesh |