summaryrefslogtreecommitdiffstats
path: root/examples/tessellation-modes
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tessellation-modes')
-rw-r--r--examples/tessellation-modes/main.cpp2
-rw-r--r--examples/tessellation-modes/tessellation-modes.pro2
2 files changed, 3 insertions, 1 deletions
diff --git a/examples/tessellation-modes/main.cpp b/examples/tessellation-modes/main.cpp
index 93c006e02..7b503356a 100644
--- a/examples/tessellation-modes/main.cpp
+++ b/examples/tessellation-modes/main.cpp
@@ -43,6 +43,7 @@
#include <Qt3DQuick/quickwindow.h>
#include <Qt3DRenderer/qrenderaspect.h>
+#include <Qt3DInput/QInputAspect>
#include <exampleresources.h>
@@ -59,6 +60,7 @@ int main(int argc, char* argv[])
Qt3D::Quick::QQmlAspectEngine engine;
engine.aspectEngine()->registerAspect(new Qt3D::QRenderAspect());
+ engine.aspectEngine()->registerAspect(new Qt3D::QInputAspect());
QVariantMap data;
data.insert(QStringLiteral("surface"), QVariant::fromValue(static_cast<QSurface *>(&view)));
diff --git a/examples/tessellation-modes/tessellation-modes.pro b/examples/tessellation-modes/tessellation-modes.pro
index b95545243..683dd7f9f 100644
--- a/examples/tessellation-modes/tessellation-modes.pro
+++ b/examples/tessellation-modes/tessellation-modes.pro
@@ -1,6 +1,6 @@
TEMPLATE = app
-QT += 3dcore 3drenderer 3dquick qml quick
+QT += 3dcore 3drenderer 3dinput 3dquick qml quick
include("../exampleresources/exampleresources.pri")