From 6ba32ca47e9f08d4d82befb3cc6632897b3b0f6a Mon Sep 17 00:00:00 2001 From: Alan Alpert Date: Wed, 24 Feb 2010 17:34:18 +0100 Subject: Fix building without the XmlPatterns Module --- src/declarative/util/qdeclarativeutilmodule.cpp | 2 ++ 1 file changed, 2 insertions(+) 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); -- cgit v0.12