summaryrefslogtreecommitdiffstats
path: root/examples/wireframe/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/wireframe/main.cpp')
-rw-r--r--examples/wireframe/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/wireframe/main.cpp b/examples/wireframe/main.cpp
index 71d792ac9..1dbdec85e 100644
--- a/examples/wireframe/main.cpp
+++ b/examples/wireframe/main.cpp
@@ -41,6 +41,7 @@
#include <Qt3DQuick/quickwindow.h>
#include <Qt3DRenderer/qrenderaspect.h>
+#include <Qt3DInput/QInputAspect>
#include <exampleresources.h>
@@ -57,6 +58,7 @@ int main(int argc, char* argv[])
Qt3D::Quick::QQmlAspectEngine engine;
engine.aspectEngine()->registerAspect(new Qt3D::QRenderAspect());
+ engine.aspectEngine()->registerAspect(new Qt3D::QInputAspect());
// Expose the window as a context property so we can set the aspect ratio
engine.qmlEngine()->rootContext()->setContextProperty("_window", &view);