summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/loader-qml
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire@kdab.com>2016-01-21 09:58:29 +0100
committerPaul Lemire <paul.lemire@kdab.com>2016-01-23 07:44:57 +0000
commitfde005a8a68e073af0fb0d142ad13177049b8f93 (patch)
tree4adf4b9289c01d9929b7fc523b943fe7ec1184fc /examples/qt3d/loader-qml
parent33ed72815e6966670a20f4a19f407c13d9b32d56 (diff)
loader-qml: Add QInputSettings component
Change-Id: I8a79d1e048b432d373312bc484db19e0c5af680b Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'examples/qt3d/loader-qml')
-rw-r--r--examples/qt3d/loader-qml/main.qml5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/qt3d/loader-qml/main.qml b/examples/qt3d/loader-qml/main.qml
index 8852d5bca..8031f4ca2 100644
--- a/examples/qt3d/loader-qml/main.qml
+++ b/examples/qt3d/loader-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
@@ -60,7 +61,9 @@ Entity {
activeFrameGraph: ForwardRenderer {
camera: camera
}
- }
+ },
+ // Event Source will be set by the Qt3DQuickWindow
+ InputSettings { }
]