diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2011-10-04 14:17:50 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-05 04:48:05 +0200 |
commit | 0923b0b56e631031461cc7bde56afb1dd8cad0de (patch) | |
tree | d6c9860566eccee8d6bdf2d967de93983d1b2042 /tests/auto/particles/qsgangleddirection/tst_qsgangleddirection.cpp | |
parent | 8846c36bcad1d05879e6765953c5267ae782a905 (diff) |
Update particles autotests to not use SRCDIR
Change-Id: I1b508756ffca6a05d495c52d84f46fcaeafe8797
Reviewed-on: http://codereview.qt-project.org/5947
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/auto/particles/qsgangleddirection/tst_qsgangleddirection.cpp')
-rw-r--r-- | tests/auto/particles/qsgangleddirection/tst_qsgangleddirection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/particles/qsgangleddirection/tst_qsgangleddirection.cpp b/tests/auto/particles/qsgangleddirection/tst_qsgangleddirection.cpp index 0cc2c8b56b..4e65fa4a2f 100644 --- a/tests/auto/particles/qsgangleddirection/tst_qsgangleddirection.cpp +++ b/tests/auto/particles/qsgangleddirection/tst_qsgangleddirection.cpp @@ -60,7 +60,7 @@ tst_qsgangleddirection::tst_qsgangleddirection() void tst_qsgangleddirection::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); |