summaryrefslogtreecommitdiffstats
path: root/tests/auto/qsound
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2009-10-08 09:23:46 +0300
committerJanne Anttila <janne.anttila@digia.com>2009-10-08 09:23:46 +0300
commit8826cc56e2989964d56ca9952e6ab639f1652cfd (patch)
treef00d789f44cd6d17c7fe3fdc8c60e5cb204d59af /tests/auto/qsound
parent4a99901283d44be4aaa5a5c221435099c8c8849c (diff)
Fix qsound autotest build break in Symbian.
Reviewed-by: TrustMe
Diffstat (limited to 'tests/auto/qsound')
-rw-r--r--tests/auto/qsound/qsound.pro2
-rw-r--r--tests/auto/qsound/tst_qsound.cpp4
2 files changed, 5 insertions, 1 deletions
diff --git a/tests/auto/qsound/qsound.pro b/tests/auto/qsound/qsound.pro
index c48d50d50f..383a0859b1 100644
--- a/tests/auto/qsound/qsound.pro
+++ b/tests/auto/qsound/qsound.pro
@@ -4,7 +4,7 @@ SOURCES += tst_qsound.cpp
wince*|symbian*: {
deploy.sources += 4.wav
DEPLOYMENT = deploy
- DEFINES += SRCDIR=\\\"\\\"
+ !symbian:DEFINES += SRCDIR=\\\"\\\"
} else {
DEFINES += SRCDIR=\\\"$$PWD/\\\"
}
diff --git a/tests/auto/qsound/tst_qsound.cpp b/tests/auto/qsound/tst_qsound.cpp
index dd5f2ced73..fdbf6a26b1 100644
--- a/tests/auto/qsound/tst_qsound.cpp
+++ b/tests/auto/qsound/tst_qsound.cpp
@@ -43,6 +43,10 @@
#include <QtTest/QtTest>
#include <QtGui>
+#if defined(Q_OS_SYMBIAN)
+#define SRCDIR ""
+#endif
+
class tst_QSound : public QObject
{
Q_OBJECT