diff options
author | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2009-11-03 16:45:10 +0200 |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2009-11-03 16:46:17 +0200 |
commit | fc45c07c27100591750ad5c360fde535e15b9dbd (patch) | |
tree | 09d916d0253be46db799f4cab4facae41682febd /tests/auto/xmlpatternsxqts | |
parent | 33489bcf46d681caba6cf107a79593302d48b1db (diff) | |
download | qt4-tools-fc45c07c27100591750ad5c360fde535e15b9dbd.tar.gz |
Made xmlpatterns autotests compile for Symbian
Fixed xmlpatterns autotests so that they compile for Symbian with
both RVCT and NokiaX86 compilers.
Reviewed-by: Janne Koskinen
Diffstat (limited to 'tests/auto/xmlpatternsxqts')
-rw-r--r-- | tests/auto/xmlpatternsxqts/lib/Global.h | 2 | ||||
-rw-r--r-- | tests/auto/xmlpatternsxqts/lib/lib.pro | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/tests/auto/xmlpatternsxqts/lib/Global.h b/tests/auto/xmlpatternsxqts/lib/Global.h index eadb9405f8..a620417ec5 100644 --- a/tests/auto/xmlpatternsxqts/lib/Global.h +++ b/tests/auto/xmlpatternsxqts/lib/Global.h @@ -47,7 +47,7 @@ #include "private/qitem_p.h" #include "private/qnamepool_p.h" -#ifdef Q_WS_WIN +#if defined(Q_WS_WIN) || defined(Q_OS_SYMBIAN) # ifdef Q_PATTERNISTSDK_BUILDING #define Q_PATTERNISTSDK_EXPORT __declspec(dllexport) #else diff --git a/tests/auto/xmlpatternsxqts/lib/lib.pro b/tests/auto/xmlpatternsxqts/lib/lib.pro index cb9453a063..f5b0a06db4 100644 --- a/tests/auto/xmlpatternsxqts/lib/lib.pro +++ b/tests/auto/xmlpatternsxqts/lib/lib.pro @@ -13,6 +13,12 @@ mac { INSTALLS += target } +symbian { + TARGET.EPOCALLOWDLLDATA=1 + TARGET.CAPABILITY = All -Tcb + MMP_RULES += EXPORTUNFROZEN +} + # We add gui, because xmlpatterns.pri pull it out. QT += xmlpatterns xml network testlib gui |