summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/auto/qaudioinput/qaudioinput.pro2
-rw-r--r--tests/auto/qaudioinput/tst_qaudioinput.cpp5
2 files changed, 5 insertions, 2 deletions
diff --git a/tests/auto/qaudioinput/qaudioinput.pro b/tests/auto/qaudioinput/qaudioinput.pro
index f545a11..5eb1613 100644
--- a/tests/auto/qaudioinput/qaudioinput.pro
+++ b/tests/auto/qaudioinput/qaudioinput.pro
@@ -10,6 +10,6 @@ wince* {
DEFINES += SRCDIR=\\\"\\\"
QT += gui
} else {
- DEFINES += SRCDIR=\\\"$$PWD/\\\"
+ !symbian:DEFINES += SRCDIR=\\\"$$PWD/\\\"
}
diff --git a/tests/auto/qaudioinput/tst_qaudioinput.cpp b/tests/auto/qaudioinput/tst_qaudioinput.cpp
index 40b7fbb..84c3874 100644
--- a/tests/auto/qaudioinput/tst_qaudioinput.cpp
+++ b/tests/auto/qaudioinput/tst_qaudioinput.cpp
@@ -46,6 +46,9 @@
#include <qaudio.h>
#include <qaudioformat.h>
+#if defined(Q_OS_SYMBIAN)
+#define SRCDIR ""
+#endif
class tst_QAudioInput : public QObject
{
@@ -130,7 +133,7 @@ void tst_QAudioInput::notifyInterval()
void tst_QAudioInput::pullFile()
{
if(available) {
- QFile filename(SRCDIR "test.raw");
+ QFile filename(SRCDIR"test.raw");
filename.open( QIODevice::WriteOnly | QIODevice::Truncate );
QSignalSpy readSignal(audio, SIGNAL(notify()));