diff options
Diffstat (limited to 'tests/auto/particles/qsgitemparticle/tst_qsgitemparticle.cpp')
-rw-r--r-- | tests/auto/particles/qsgitemparticle/tst_qsgitemparticle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/particles/qsgitemparticle/tst_qsgitemparticle.cpp b/tests/auto/particles/qsgitemparticle/tst_qsgitemparticle.cpp index 440ebafdb8..2d1876465c 100644 --- a/tests/auto/particles/qsgitemparticle/tst_qsgitemparticle.cpp +++ b/tests/auto/particles/qsgitemparticle/tst_qsgitemparticle.cpp @@ -60,7 +60,7 @@ tst_qsgitemparticle::tst_qsgitemparticle() void tst_qsgitemparticle::test_basic() { - QSGView* view = createView(SRCDIR "/data/basic.qml", 600); + QSGView* view = createView(QCoreApplication::applicationDirPath() + "/data/basic.qml", 600); QSGParticleSystem* system = view->rootObject()->findChild<QSGParticleSystem*>("system"); QCOMPARE(system->groupData[0]->size(), 500); |