diff options
author | Janne Anttila <janne.anttila@digia.com> | 2009-08-12 10:30:57 (GMT) |
---|---|---|
committer | Janne Anttila <janne.anttila@digia.com> | 2009-08-12 10:30:57 (GMT) |
commit | 47f86ea037c11e2890f331f88c05fcd8667118c2 (patch) | |
tree | a6607be13d533b568e1454cdf2093ff44b2ee570 /tests/auto/qsplitter | |
parent | 30880f6b5c4a22c1929146caaab2dc6ba39dc338 (diff) | |
download | Qt-47f86ea037c11e2890f331f88c05fcd8667118c2.zip Qt-47f86ea037c11e2890f331f88c05fcd8667118c2.tar.gz Qt-47f86ea037c11e2890f331f88c05fcd8667118c2.tar.bz2 |
Fixed QtGui autotest build breaks due to incorrect SRCDIR usage.
Diffstat (limited to 'tests/auto/qsplitter')
-rw-r--r-- | tests/auto/qsplitter/qsplitter.pro | 2 | ||||
-rw-r--r-- | tests/auto/qsplitter/tst_qsplitter.cpp | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/tests/auto/qsplitter/qsplitter.pro b/tests/auto/qsplitter/qsplitter.pro index 8c3e40b..5ec2b9d 100644 --- a/tests/auto/qsplitter/qsplitter.pro +++ b/tests/auto/qsplitter/qsplitter.pro @@ -8,7 +8,7 @@ wince*|symbian*: { addFiles.sources = extradata.txt setSizes3.dat addFiles.path = . DEPLOYMENT += addFiles - DEFINES += SRCDIR=\\\"./\\\" + !symbian:DEFINES += SRCDIR=\\\"./\\\" } else { DEFINES += SRCDIR=\\\"$$PWD/\\\" } diff --git a/tests/auto/qsplitter/tst_qsplitter.cpp b/tests/auto/qsplitter/tst_qsplitter.cpp index a44e25d..d76bf78 100644 --- a/tests/auto/qsplitter/tst_qsplitter.cpp +++ b/tests/auto/qsplitter/tst_qsplitter.cpp @@ -57,6 +57,10 @@ #include <qdebug.h> // for file error messages #include "../../shared/util.h" +#if defined(Q_OS_SYMBIAN) +# define SRCDIR "" +#endif + //TESTED_CLASS= //TESTED_FILES= |