summaryrefslogtreecommitdiffstats
path: root/tests/auto/xmlpatternsxqts
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@digia.com>2009-11-03 14:45:10 (GMT)
committerMiikka Heikkinen <miikka.heikkinen@digia.com>2009-11-03 14:46:17 (GMT)
commitfc45c07c27100591750ad5c360fde535e15b9dbd (patch)
tree09d916d0253be46db799f4cab4facae41682febd /tests/auto/xmlpatternsxqts
parent33489bcf46d681caba6cf107a79593302d48b1db (diff)
downloadQt-fc45c07c27100591750ad5c360fde535e15b9dbd.zip
Qt-fc45c07c27100591750ad5c360fde535e15b9dbd.tar.gz
Qt-fc45c07c27100591750ad5c360fde535e15b9dbd.tar.bz2
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.h2
-rw-r--r--tests/auto/xmlpatternsxqts/lib/lib.pro6
2 files changed, 7 insertions, 1 deletions
diff --git a/tests/auto/xmlpatternsxqts/lib/Global.h b/tests/auto/xmlpatternsxqts/lib/Global.h
index eadb940..a620417 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 cb9453a..f5b0a06 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