summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/materials
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qt3d/materials')
-rw-r--r--examples/qt3d/materials/main.cpp4
-rw-r--r--examples/qt3d/materials/materials.pro2
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/qt3d/materials/main.cpp b/examples/qt3d/materials/main.cpp
index 2661de1ff..faed40390 100644
--- a/examples/qt3d/materials/main.cpp
+++ b/examples/qt3d/materials/main.cpp
@@ -48,7 +48,7 @@
**
****************************************************************************/
-#include "qt3dquickwindow.h"
+#include <Qt3DQuickExtras/qt3dquickwindow.h>
#include <Qt3DQuick/QQmlAspectEngine>
#include <QGuiApplication>
#include <QQmlEngine>
@@ -57,7 +57,7 @@
int main(int argc, char* argv[])
{
QGuiApplication app(argc, argv);
- Qt3DQuickWindow view;
+ Qt3DExtras::Quick::Qt3DQuickWindow view;
// Expose the window as a context property so we can set the aspect ratio
view.engine()->qmlEngine()->rootContext()->setContextProperty("_window", &view);
diff --git a/examples/qt3d/materials/materials.pro b/examples/qt3d/materials/materials.pro
index a5c892fe8..c19361472 100644
--- a/examples/qt3d/materials/materials.pro
+++ b/examples/qt3d/materials/materials.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 += \