diff options
Diffstat (limited to 'examples/qt3d/gooch-qml/main.cpp')
-rw-r--r-- | examples/qt3d/gooch-qml/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/qt3d/gooch-qml/main.cpp b/examples/qt3d/gooch-qml/main.cpp index 007b73590..95044bf67 100644 --- a/examples/qt3d/gooch-qml/main.cpp +++ b/examples/qt3d/gooch-qml/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); view.setSource(QUrl("qrc:/main.qml")); |