diff options
Diffstat (limited to 'examples/qt3d/gltf')
-rw-r--r-- | examples/qt3d/gltf/gltf.pro | 2 | ||||
-rw-r--r-- | examples/qt3d/gltf/main.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/qt3d/gltf/gltf.pro b/examples/qt3d/gltf/gltf.pro index 8a79ab06c..2ec5551a9 100644 --- a/examples/qt3d/gltf/gltf.pro +++ b/examples/qt3d/gltf/gltf.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 += \ diff --git a/examples/qt3d/gltf/main.cpp b/examples/qt3d/gltf/main.cpp index afde3a5f9..8fc9cd8e2 100644 --- a/examples/qt3d/gltf/main.cpp +++ b/examples/qt3d/gltf/main.cpp @@ -48,14 +48,14 @@ ** ****************************************************************************/ -#include "qt3dquickwindow.h" +#include <Qt3DQuickExtras/qt3dquickwindow.h> #include <QGuiApplication> #include <QOpenGLContext> int main(int argc, char* argv[]) { QGuiApplication app(argc, argv); - Qt3DQuickWindow view; + Qt3DExtras::Quick::Qt3DQuickWindow view; view.setSource(QUrl("qrc:/main.qml")); view.show(); |