aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/particles/qsgcustomaffector/tst_qsgcustomaffector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/particles/qsgcustomaffector/tst_qsgcustomaffector.cpp')
-rw-r--r--tests/auto/particles/qsgcustomaffector/tst_qsgcustomaffector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/particles/qsgcustomaffector/tst_qsgcustomaffector.cpp b/tests/auto/particles/qsgcustomaffector/tst_qsgcustomaffector.cpp
index 6ae2aa5f06..ec86fc7fff 100644
--- a/tests/auto/particles/qsgcustomaffector/tst_qsgcustomaffector.cpp
+++ b/tests/auto/particles/qsgcustomaffector/tst_qsgcustomaffector.cpp
@@ -59,7 +59,7 @@ tst_qsgcustomaffector::tst_qsgcustomaffector()
void tst_qsgcustomaffector::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);