diff options
Diffstat (limited to 'tests/auto/particles/shared/particlestestsshared.h')
-rw-r--r-- | tests/auto/particles/shared/particlestestsshared.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/particles/shared/particlestestsshared.h b/tests/auto/particles/shared/particlestestsshared.h index ed483bae01..ab6b5f16af 100644 --- a/tests/auto/particles/shared/particlestestsshared.h +++ b/tests/auto/particles/shared/particlestestsshared.h @@ -41,7 +41,7 @@ #ifndef PARTICLES_TESTS_SHARED #define PARTICLES_TESTS_SHARED -#include <QSGView> +#include <QQuickView> #include <QtTest> #include <QAbstractAnimation> const qreal EPSILON = 0.0001; @@ -66,12 +66,12 @@ bool myFuzzyGEQ(qreal a, qreal b) return (a + EPSILON > b); } -QSGView* createView(const QString &filename, int additionalWait=0) +QQuickView* createView(const QString &filename, int additionalWait=0) { - QSGView *canvas = new QSGView(0); + QQuickView *canvas = new QQuickView(0); canvas->setSource(QUrl::fromLocalFile(filename)); - if (canvas->status() != QSGView::Ready) + if (canvas->status() != QQuickView::Ready) return 0; canvas->show(); QTest::qWaitForWindowShown(canvas); |