summaryrefslogtreecommitdiff
path: root/tests/auto
diff options
context:
space:
mode:
authorPeter Hartmann <phartmann@blackberry.com>2013-11-04 14:56:18 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-11-15 09:22:48 +0100
commit49b020db22028b3f4de96769d42fcc98ffb3f4e6 (patch)
treec53dc8ea80ac4ea6d3e3cbba323db69594902741 /tests/auto
parent97f266a006d82cc8554915cba6bf767b93d71a06 (diff)
downloadqtxmlpatterns-49b020db22028b3f4de96769d42fcc98ffb3f4e6.tar.gz
make it possible to disable XML schema usage
Removing XML schema functionality reduces the size of libQt5XmlPatterns.so considerably: Linux desktop release mode: with XML schema: 4.3 MB without XML schema: 3.2 MB BlackBerry10 release mode: with XML schema: 2.6 MB without XML schema: 1.9 MB XML schema might not be used, especially on a mobile / embedded device, as opposed to the rest of xmlpatterns (e.g. XPath through QML XmlListModel). Task-number: QTBUG-28068 Change-Id: I5024a822179e7241e592f079efe3adef8f661c70 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/auto.pro12
1 files changed, 8 insertions, 4 deletions
diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro
index 8f0a1e7..df80f80 100644
--- a/tests/auto/auto.pro
+++ b/tests/auto/auto.pro
@@ -21,19 +21,23 @@ SUBDIRS=\
qxmlnodemodelindex \
qxmlquery \
qxmlresultitems \
- qxmlschema \
- qxmlschemavalidator \
qxmlserializer \
xmlpatterns \
xmlpatternsdiagnosticsts \
- xmlpatternsschema \
- xmlpatternsschemats \
xmlpatternssdk \
xmlpatternsvalidator \
xmlpatternsview \
xmlpatternsxqts \
xmlpatternsxslts \
+load(qfeatures)
+!contains(QT_DISABLED_FEATURES, xmlschema) {
+ SUBDIRS += qxmlschema \
+ qxmlschemavalidator \
+ xmlpatternsschema \
+ xmlpatternsschemats
+}
+
xmlpatternsdiagnosticsts.depends = xmlpatternssdk
xmlpatternsview.depends = xmlpatternssdk
xmlpatternsxslts.depends = xmlpatternssdk