From 5befb16a797fe344007e47fc60349271c2a8e8bd Mon Sep 17 00:00:00 2001 From: Paul Lemire Date: Thu, 21 Jan 2016 09:44:44 +0100 Subject: assimp: Add QInputSettings component Inputs now working without setData Change-Id: I5aba21a7f2d29090106df50a679f7933d84003bd Reviewed-by: Paul Lemire --- examples/qt3d/assimp/main.qml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'examples/qt3d') diff --git a/examples/qt3d/assimp/main.qml b/examples/qt3d/assimp/main.qml index 9eaf21464..cf3b86f81 100644 --- a/examples/qt3d/assimp/main.qml +++ b/examples/qt3d/assimp/main.qml @@ -38,15 +38,20 @@ import QtQuick 2.0 as Quick import Qt3D.Core 2.0 import Qt3D.Render 2.0 import Qt3D.Examples 2.0 +import Qt3D.Input 2.0 Entity { - components: FrameGraph { - activeFrameGraph: ForwardRenderer { - clearColor: Qt.rgba(0, 0.5, 1, 1) - camera: camera - } - } + components: [ + FrameGraph { + activeFrameGraph: ForwardRenderer { + clearColor: Qt.rgba(0, 0.5, 1, 1) + camera: camera + } + }, + // Event Source will be set by the Qt3DQuickWindow + InputSettings { } + ] Camera { id: camera -- cgit v1.2.3