aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/util')
-rw-r--r--src/declarative/util/util.pri2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/util/util.pri b/src/declarative/util/util.pri
index 62fa8f1664..5bc8b117c0 100644
--- a/src/declarative/util/util.pri
+++ b/src/declarative/util/util.pri
@@ -69,4 +69,6 @@ contains(QT_CONFIG, xmlpatterns) {
QT+=xmlpatterns
SOURCES += $$PWD/qdeclarativexmllistmodel.cpp
HEADERS += $$PWD/qdeclarativexmllistmodel_p.h
+} else {
+ DEFINES += QT_NO_XMLPATTERNS
}