summaryrefslogtreecommitdiffstats
path: root/src/declarative/util
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2010-02-24 16:34:18 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2010-02-24 16:34:18 (GMT)
commit6ba32ca47e9f08d4d82befb3cc6632897b3b0f6a (patch)
treec4d6e5c7606adf2263423c5f8cf451b6315f6f44 /src/declarative/util
parent7acb1eeffa011651baf687fb66e5b6d3afbe2e86 (diff)
downloadQt-6ba32ca47e9f08d4d82befb3cc6632897b3b0f6a.zip
Qt-6ba32ca47e9f08d4d82befb3cc6632897b3b0f6a.tar.gz
Qt-6ba32ca47e9f08d4d82befb3cc6632897b3b0f6a.tar.bz2
Fix building without the XmlPatterns Module
Diffstat (limited to 'src/declarative/util')
-rw-r--r--src/declarative/util/qdeclarativeutilmodule.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/util/qdeclarativeutilmodule.cpp b/src/declarative/util/qdeclarativeutilmodule.cpp
index 1e4b963..ecaa607c 100644
--- a/src/declarative/util/qdeclarativeutilmodule.cpp
+++ b/src/declarative/util/qdeclarativeutilmodule.cpp
@@ -105,8 +105,10 @@ void QDeclarativeUtilModule::defineModule()
QML_REGISTER_TYPE(Qt,4,6,Timer,QDeclarativeTimer);
QML_REGISTER_TYPE(Qt,4,6,Transition,QDeclarativeTransition);
QML_REGISTER_TYPE(Qt,4,6,Vector3dAnimation,QDeclarativeVector3dAnimation);
+#ifndef QT_NO_XMLPATTERNS
QML_REGISTER_TYPE(Qt,4,6,XmlListModel,QDeclarativeXmlListModel);
QML_REGISTER_TYPE(Qt,4,6,XmlRole,QDeclarativeXmlListModelRole);
+#endif
QML_REGISTER_NOCREATE_TYPE(QDeclarativeAnchors);
QML_REGISTER_NOCREATE_TYPE(QDeclarativeAbstractAnimation);