make it possible to disable XML schema usage
authorPeter Hartmann <phartmann@blackberry.com>
Mon, 4 Nov 2013 13:56:18 +0000 (14:56 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 15 Nov 2013 08:22:48 +0000 (09:22 +0100)
commit49b020db22028b3f4de96769d42fcc98ffb3f4e6
treec53dc8ea80ac4ea6d3e3cbba323db69594902741
parent97f266a006d82cc8554915cba6bf767b93d71a06
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>
examples/xmlpatterns/xmlpatterns.pro
src/xmlpatterns/api/api.pri
src/xmlpatterns/xmlpatterns.pro
tests/auto/auto.pro
tools/tools.pro