summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/simple-qml/main.qml
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire@kdab.com>2016-01-21 09:44:19 +0100
committerPaul Lemire <paul.lemire@kdab.com>2016-01-23 07:43:13 +0000
commitda711b7d4dd1279d65d4a86db8bc59a47278f413 (patch)
tree35feee75963ee363f87e715d4e52c782a6cf54fe /examples/qt3d/simple-qml/main.qml
parent5b9d76185e899082cfe3d989cb3f45029a259202 (diff)
simple-qml: add InputSettings component
Inputs are now working without setData Change-Id: I564b09532d9daf10503d689012545e9c1a4c08c2 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'examples/qt3d/simple-qml/main.qml')
-rw-r--r--examples/qt3d/simple-qml/main.qml4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/qt3d/simple-qml/main.qml b/examples/qt3d/simple-qml/main.qml
index 9d25da81a..0b3afec6d 100644
--- a/examples/qt3d/simple-qml/main.qml
+++ b/examples/qt3d/simple-qml/main.qml
@@ -64,7 +64,9 @@ Entity {
clearColor: Qt.rgba(0, 0.5, 1, 1)
camera: camera
}
- }
+ },
+ // Event Source will be set by the Qt3DQuickWindow
+ InputSettings { }
]
PhongMaterial {