summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorKevin Ottens <kevin.ottens@kdab.com>2015-01-21 17:57:10 +0100
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2015-01-25 08:59:40 +0100
commit67da84d5f7e37b7280e251526aba55a36e8681a8 (patch)
treec6cdc38ca919627165b6ab91ba14d8fdc7ba7cc2 /examples
parent49d36cb4f4c539b0bda3db3b0770545c23489f9e (diff)
Allow to control the aspects used by a Scene3D
Change-Id: I5fb20950cb5f829ab6beb42c1f9d97b6ae94c884 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/scene3d/main.qml1
-rw-r--r--examples/scene3d/scene3d.pro2
2 files changed, 2 insertions, 1 deletions
diff --git a/examples/scene3d/main.qml b/examples/scene3d/main.qml
index 210136322..f987f1e26 100644
--- a/examples/scene3d/main.qml
+++ b/examples/scene3d/main.qml
@@ -75,6 +75,7 @@ Item {
anchors.fill: parent
anchors.margins: 10
focus: true
+ aspects: "input"
AnimatedEntity {}
}
diff --git a/examples/scene3d/scene3d.pro b/examples/scene3d/scene3d.pro
index abae485eb..9df4a2bcf 100644
--- a/examples/scene3d/scene3d.pro
+++ b/examples/scene3d/scene3d.pro
@@ -1,5 +1,5 @@
TEMPLATE = app
-QT += qml quick
+QT += qml quick 3dinput
SOURCES += \
main.cpp