diff options
Diffstat (limited to 'tests/auto/qsvggenerator')
-rw-r--r-- | tests/auto/qsvggenerator/qsvggenerator.pro | 7 | ||||
-rw-r--r-- | tests/auto/qsvggenerator/tst_qsvggenerator.cpp | 4 |
2 files changed, 9 insertions, 2 deletions
diff --git a/tests/auto/qsvggenerator/qsvggenerator.pro b/tests/auto/qsvggenerator/qsvggenerator.pro index 1eb72b3..450bcd3 100644 --- a/tests/auto/qsvggenerator/qsvggenerator.pro +++ b/tests/auto/qsvggenerator/qsvggenerator.pro @@ -7,11 +7,14 @@ QT += svg xml SOURCES += tst_qsvggenerator.cpp -wince*: { +wince*|symbian { addFiles.sources = referenceSvgs addFiles.path = . DEPLOYMENT += addFiles +} + +wince* { DEFINES += SRCDIR=\\\"\\\" -} else { +} !symbian { DEFINES += SRCDIR=\\\"$$PWD/\\\" } diff --git a/tests/auto/qsvggenerator/tst_qsvggenerator.cpp b/tests/auto/qsvggenerator/tst_qsvggenerator.cpp index 1b4115a..614d3f8 100644 --- a/tests/auto/qsvggenerator/tst_qsvggenerator.cpp +++ b/tests/auto/qsvggenerator/tst_qsvggenerator.cpp @@ -55,6 +55,10 @@ //TESTED_CLASS= //TESTED_FILES= +#ifdef Q_OS_SYMBIAN +#define SRCDIR "" +#endif + class tst_QSvgGenerator : public QObject { Q_OBJECT |