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 020401d9f..7fc2a5ecf 100644
--- a/examples/gltf/main.cpp
+++ b/examples/gltf/main.cpp
@@ -40,7 +40,7 @@
****************************************************************************/
#include <exampleresources.h>
-#include <window.h>
+#include <quickwindow.h>
#include <rendereraspect.h>
#include <QGuiApplication>
@@ -52,7 +52,7 @@ int main(int argc, char* argv[])
initializeAssetResources("../exampleresources/example-assets.qrb");
- Qt3D::Window view;
+ Qt3D::Quick::QuickWindow view;
view.registerAspect(new Qt3D::RendererAspect());
view.setSource(QUrl("qrc:/main.qml"));
view.show();