diff options
Diffstat (limited to 'tests/auto/particles/qsgcumulativedirection/tst_qsgcumulativedirection.cpp')
-rw-r--r-- | tests/auto/particles/qsgcumulativedirection/tst_qsgcumulativedirection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/particles/qsgcumulativedirection/tst_qsgcumulativedirection.cpp b/tests/auto/particles/qsgcumulativedirection/tst_qsgcumulativedirection.cpp index 0c54ad8490..1c4e98cb9a 100644 --- a/tests/auto/particles/qsgcumulativedirection/tst_qsgcumulativedirection.cpp +++ b/tests/auto/particles/qsgcumulativedirection/tst_qsgcumulativedirection.cpp @@ -59,7 +59,7 @@ tst_qsgcumulativedirection::tst_qsgcumulativedirection() void tst_qsgcumulativedirection::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); |