diff options
Diffstat (limited to 'tests/auto/qtextboundaryfinder')
-rw-r--r-- | tests/auto/qtextboundaryfinder/qtextboundaryfinder.pro | 5 | ||||
-rw-r--r-- | tests/auto/qtextboundaryfinder/tst_qtextboundaryfinder.cpp | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/tests/auto/qtextboundaryfinder/qtextboundaryfinder.pro b/tests/auto/qtextboundaryfinder/qtextboundaryfinder.pro index 4d2ff01..cba5a74 100644 --- a/tests/auto/qtextboundaryfinder/qtextboundaryfinder.pro +++ b/tests/auto/qtextboundaryfinder/qtextboundaryfinder.pro @@ -1,9 +1,10 @@ load(qttest_p4) +QT = core HEADERS += SOURCES += tst_qtextboundaryfinder.cpp -DEFINES += SRCDIR=\\\"$$PWD\\\" +!symbian:*:DEFINES += SRCDIR=\\\"$$PWD\\\" -wince*:{ +wince*|symbian*:{ addFiles.sources = data addFiles.path = . DEPLOYMENT += addFiles diff --git a/tests/auto/qtextboundaryfinder/tst_qtextboundaryfinder.cpp b/tests/auto/qtextboundaryfinder/tst_qtextboundaryfinder.cpp index eecc527..253e864 100644 --- a/tests/auto/qtextboundaryfinder/tst_qtextboundaryfinder.cpp +++ b/tests/auto/qtextboundaryfinder/tst_qtextboundaryfinder.cpp @@ -48,6 +48,9 @@ //TESTED_CLASS= //TESTED_FILES=gui/text/qtextlayout.h corelib/tools/qtextboundaryfinder.cpp +#ifdef Q_OS_SYMBIAN +#define SRCDIR "$$PWD" +#endif class tst_QTextBoundaryFinder : public QObject { |