diff options
author | Rohan McGovern <rohan.mcgovern@nokia.com> | 2011-10-24 13:46:36 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-24 06:42:09 +0200 |
commit | 023b3762a671e05c344a53de94d6199df8b903ea (patch) | |
tree | 6845f3e45a0aac834d04b5086cb5225956db38c2 /tutorials | |
parent | 06f20f5e0c4b3c25a2cc9c9812fff81d73e317d7 (diff) |
Fix compilation due to QSG* -> QQuick* change
This change was introduced by bfb3c424abc7c839dc44de0e36024ede99ece736
in qt/qtdeclarative
Change-Id: I4a20e3dacfe331c8c535296e91f148eee9c3faa2
Reviewed-by: Patrick Burke <patrick.burke@nokia.com>
Diffstat (limited to 'tutorials')
-rw-r--r-- | tutorials/quick3d/teapot_bounce_qml/main.cpp | 4 | ||||
-rw-r--r-- | tutorials/quick3d/teapot_qml/main.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tutorials/quick3d/teapot_bounce_qml/main.cpp b/tutorials/quick3d/teapot_bounce_qml/main.cpp index e6c89b432..04637a7be 100644 --- a/tutorials/quick3d/teapot_bounce_qml/main.cpp +++ b/tutorials/quick3d/teapot_bounce_qml/main.cpp @@ -40,7 +40,7 @@ ****************************************************************************/ #include <QtGui/QGuiApplication> -#include <QtDeclarative/qsgview.h> +#include <QtDeclarative/qquickview.h> #include "../qmlres.h" @@ -51,7 +51,7 @@ int main(int argc, char *argv[]) QSurfaceFormat f; f.setSamples(16); - QSGView view; + QQuickView view; view.setFormat(f); QString qml = q_get_qmldir(QLatin1String("qml/bounce-teapot.qml")); diff --git a/tutorials/quick3d/teapot_qml/main.cpp b/tutorials/quick3d/teapot_qml/main.cpp index 8cf065cae..ab275e30f 100644 --- a/tutorials/quick3d/teapot_qml/main.cpp +++ b/tutorials/quick3d/teapot_qml/main.cpp @@ -40,7 +40,7 @@ ****************************************************************************/ #include <QtGui/QGuiApplication> -#include <QtDeclarative/qsgview.h> +#include <QtDeclarative/qquickview.h> #include "../qmlres.h" @@ -51,7 +51,7 @@ int main(int argc, char *argv[]) QSurfaceFormat f; f.setSamples(16); - QSGView view; + QQuickView view; view.setFormat(f); QString qml = q_get_qmldir(QLatin1String("qml/teapot.qml")); |