diff options
Diffstat (limited to 'tests/auto/particles/qsgparticlegroup/tst_qsgparticlegroup.cpp')
-rw-r--r-- | tests/auto/particles/qsgparticlegroup/tst_qsgparticlegroup.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/particles/qsgparticlegroup/tst_qsgparticlegroup.cpp b/tests/auto/particles/qsgparticlegroup/tst_qsgparticlegroup.cpp index 21eb52b4ca..5cf170c851 100644 --- a/tests/auto/particles/qsgparticlegroup/tst_qsgparticlegroup.cpp +++ b/tests/auto/particles/qsgparticlegroup/tst_qsgparticlegroup.cpp @@ -59,7 +59,7 @@ tst_qsgparticlegroup::tst_qsgparticlegroup() void tst_qsgparticlegroup::test_instantTransition() { - QSGView* view = createView(SRCDIR "/data/basic.qml", 600); + QSGView* view = createView(QCoreApplication::applicationDirPath() + "/data/basic.qml", 600); QSGParticleSystem* system = view->rootObject()->findChild<QSGParticleSystem*>("system"); //A frame or two worth of particles will be missed, the transition doesn't take effect on the frame it's spawned (QTBUG-21781) |