aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/examples/tst_examples.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/examples/tst_examples.cpp')
-rw-r--r--tests/auto/declarative/examples/tst_examples.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/auto/declarative/examples/tst_examples.cpp b/tests/auto/declarative/examples/tst_examples.cpp
index 58f16a49d6..c14d41ac48 100644
--- a/tests/auto/declarative/examples/tst_examples.cpp
+++ b/tests/auto/declarative/examples/tst_examples.cpp
@@ -44,7 +44,7 @@
#include <QDir>
#include <QProcess>
#include <QDebug>
-#include <QSGView>
+#include <QQuickView>
#include <QDeclarativeError>
class tst_examples : public QObject
@@ -72,7 +72,7 @@ tst_examples::tst_examples()
excludedDirs << "examples/declarative/text/fonts"; // QTBUG-21415
#endif
- // Not run in QSGView
+ // Not run in QQuickView
excludedDirs << "examples/declarative/qtquick1";
// These snippets are not expected to run on their own.
@@ -207,16 +207,16 @@ void tst_examples::sgexamples()
{
QFETCH(QString, file);
- QSGView view;
+ QQuickView view;
QtMsgHandler old = qInstallMsgHandler(silentErrorsMsgHandler);
view.setSource(file);
qInstallMsgHandler(old);
- if (view.status() == QSGView::Error)
+ if (view.status() == QQuickView::Error)
qWarning() << view.errors();
- QCOMPARE(view.status(), QSGView::Ready);
+ QCOMPARE(view.status(), QQuickView::Ready);
view.show();
QTest::qWait(100);