summaryrefslogtreecommitdiffstats
path: root/examples/gltf/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/gltf/main.cpp')
-rw-r--r--examples/gltf/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/gltf/main.cpp b/examples/gltf/main.cpp
index 0d85da46f..2a464daaa 100644
--- a/examples/gltf/main.cpp
+++ b/examples/gltf/main.cpp
@@ -41,7 +41,7 @@
#include <exampleresources.h>
#include <Qt3DQuick/quickwindow.h>
-#include <Qt3DRenderer/rendereraspect.h>
+#include <Qt3DRenderer/qrenderaspect.h>
#include <QGuiApplication>
#include <QtQml>
@@ -53,7 +53,7 @@ int main(int argc, char* argv[])
initializeAssetResources("../exampleresources/example-assets.qrb");
Qt3D::Quick::QuickWindow view;
- view.registerAspect(new Qt3D::RendererAspect());
+ view.registerAspect(new Qt3D::QRenderAspect());
view.setSource(QUrl("qrc:/main.qml"));
view.show();