diff options
author | Janne Anttila <janne.anttila@digia.com> | 2009-10-08 06:23:46 (GMT) |
---|---|---|
committer | Janne Anttila <janne.anttila@digia.com> | 2009-10-08 06:23:46 (GMT) |
commit | 8826cc56e2989964d56ca9952e6ab639f1652cfd (patch) | |
tree | f00d789f44cd6d17c7fe3fdc8c60e5cb204d59af /tests/auto/qsound | |
parent | 4a99901283d44be4aaa5a5c221435099c8c8849c (diff) | |
download | Qt-8826cc56e2989964d56ca9952e6ab639f1652cfd.zip Qt-8826cc56e2989964d56ca9952e6ab639f1652cfd.tar.gz Qt-8826cc56e2989964d56ca9952e6ab639f1652cfd.tar.bz2 |
Fix qsound autotest build break in Symbian.
Reviewed-by: TrustMe
Diffstat (limited to 'tests/auto/qsound')
-rw-r--r-- | tests/auto/qsound/qsound.pro | 2 | ||||
-rw-r--r-- | tests/auto/qsound/tst_qsound.cpp | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/tests/auto/qsound/qsound.pro b/tests/auto/qsound/qsound.pro index c48d50d..383a085 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 dd5f2ce..fdbf6a2 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 |