summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/tessellation-modes
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qt3d/tessellation-modes')
-rw-r--r--examples/qt3d/tessellation-modes/main.cpp4
-rw-r--r--examples/qt3d/tessellation-modes/tessellation-modes.pro2
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/qt3d/tessellation-modes/main.cpp b/examples/qt3d/tessellation-modes/main.cpp
index e74ec7dbd..a0eae5175 100644
--- a/examples/qt3d/tessellation-modes/main.cpp
+++ b/examples/qt3d/tessellation-modes/main.cpp
@@ -49,7 +49,7 @@
****************************************************************************/
#include "tessellatedquadmesh.h"
-#include "qt3dquickwindow.h"
+#include <Qt3DQuickExtras/qt3dquickwindow.h>
#include <Qt3DQuick/QQmlAspectEngine>
#include <QGuiApplication>
#include <qqml.h>
@@ -60,7 +60,7 @@ int main(int argc, char* argv[])
{
QGuiApplication app(argc, argv);
- Qt3DQuickWindow view;
+ Qt3DExtras::Quick::Qt3DQuickWindow view;
// Register our custom types
qmlRegisterType<TessellatedQuadMesh>("Qt3D.Examples", 1, 0, "TessellatedQuadMesh");
diff --git a/examples/qt3d/tessellation-modes/tessellation-modes.pro b/examples/qt3d/tessellation-modes/tessellation-modes.pro
index e6c758577..c1691e607 100644
--- a/examples/qt3d/tessellation-modes/tessellation-modes.pro
+++ b/examples/qt3d/tessellation-modes/tessellation-modes.pro
@@ -2,7 +2,7 @@
error( "Couldn't find the examples.pri file!" )
}
-QT += 3dcore 3drender 3dinput 3dquick qml quick
+QT += 3dcore 3drender 3dinput 3dquick qml quick 3dquickextras
HEADERS += \
tessellatedquadmesh.h