diff options
author | Paul Lemire <paul.lemire@kdab.com> | 2016-01-21 09:55:54 +0100 |
---|---|---|
committer | Paul Lemire <paul.lemire@kdab.com> | 2016-01-23 07:44:28 +0000 |
commit | 28ec36861272ce15cffb24c329104c9dc01f344b (patch) | |
tree | a9f44e209ebf6ab382ba9507c5827bc3c087dc8c /examples/qt3d/gooch-qml | |
parent | e6a6957b2fc5d14f9fa2482f4e85fb2010f9d1fa (diff) |
gooch-qml: Add QInputSettings component
Change-Id: I597bfbeb53a1fd451352888ddb49a518125f801c
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'examples/qt3d/gooch-qml')
-rw-r--r-- | examples/qt3d/gooch-qml/main.qml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/qt3d/gooch-qml/main.qml b/examples/qt3d/gooch-qml/main.qml index abed8974b..065343eea 100644 --- a/examples/qt3d/gooch-qml/main.qml +++ b/examples/qt3d/gooch-qml/main.qml @@ -36,6 +36,7 @@ import Qt3D.Core 2.0 import Qt3D.Render 2.0 +import Qt3D.Input 2.0 import QtQuick 2.2 as QQ2 Entity { @@ -48,7 +49,9 @@ Entity { ForwardRenderer { camera: mainCamera } - } + }, + // Event Source will be set by the Qt3DQuickWindow + InputSettings { } ] Camera { |