diff options
author | Tasuku Suzuki <tasuku.suzuki@nokia.com> | 2010-07-29 09:22:51 (GMT) |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2010-07-29 09:22:51 (GMT) |
commit | 510c8d6bd7c7623bb41878b8246375a403f3ba1d (patch) | |
tree | 98b11e521d8eead10e3de88c2d79284514c02122 /src/declarative/qml/qdeclarativexmlhttprequest.cpp | |
parent | a542b798e468f775ab09a7846c8fe185eece6ab3 (diff) | |
download | Qt-510c8d6bd7c7623bb41878b8246375a403f3ba1d.zip Qt-510c8d6bd7c7623bb41878b8246375a403f3ba1d.tar.gz Qt-510c8d6bd7c7623bb41878b8246375a403f3ba1d.tar.bz2 |
Fix compilation with QT_NO_XMLSTREAMREADER
Merge-request: 757
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'src/declarative/qml/qdeclarativexmlhttprequest.cpp')
-rw-r--r-- | src/declarative/qml/qdeclarativexmlhttprequest.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/declarative/qml/qdeclarativexmlhttprequest.cpp b/src/declarative/qml/qdeclarativexmlhttprequest.cpp index acd1f51..d5b7ecc 100644 --- a/src/declarative/qml/qdeclarativexmlhttprequest.cpp +++ b/src/declarative/qml/qdeclarativexmlhttprequest.cpp @@ -58,6 +58,8 @@ #include <QtCore/qstack.h> #include <QtCore/qdebug.h> +#ifndef QT_NO_XMLSTREAMREADER + // From DOM-Level-3-Core spec // http://www.w3.org/TR/DOM-Level-3-Core/core.html #define INDEX_SIZE_ERR 1 @@ -1662,4 +1664,6 @@ void qt_add_qmlxmlhttprequest(QScriptEngine *engine) QT_END_NAMESPACE +#endif // QT_NO_XMLSTREAMREADER + #include <qdeclarativexmlhttprequest.moc> |