You can configure Qt as follows:
./configure -no-xmlpatterns -no-svg
Parts in QtDeclarative that depend on these modules will be automatically disabled. For example, removing QtXmlPatterns will result in the absence of an XmlListModel, as it is based on XQuery.
This will not be a modification of Qt in the sense of LGPL, so there is no need to get around and distribute the Qt source code yourself.
, -no-sql , , , QtDeclarative. , , . , , #ifdef QT_NO_XMLPATTERNS src/declarative qdeclarativexmllistmodel.cpp src/declarative/util/util.pri.