summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativexmlhttprequest_p.h
diff options
context:
space:
mode:
authorTasuku Suzuki <tasuku.suzuki@nokia.com>2010-07-29 09:22:51 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-07-29 09:22:51 (GMT)
commit510c8d6bd7c7623bb41878b8246375a403f3ba1d (patch)
tree98b11e521d8eead10e3de88c2d79284514c02122 /src/declarative/qml/qdeclarativexmlhttprequest_p.h
parenta542b798e468f775ab09a7846c8fe185eece6ab3 (diff)
downloadQt-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_p.h')
-rw-r--r--src/declarative/qml/qdeclarativexmlhttprequest_p.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/declarative/qml/qdeclarativexmlhttprequest_p.h b/src/declarative/qml/qdeclarativexmlhttprequest_p.h
index 068cd0f..f340c1c 100644
--- a/src/declarative/qml/qdeclarativexmlhttprequest_p.h
+++ b/src/declarative/qml/qdeclarativexmlhttprequest_p.h
@@ -56,6 +56,8 @@
#include <QtCore/qglobal.h>
+#ifndef QT_NO_XMLSTREAMREADER
+
QT_BEGIN_NAMESPACE
class QScriptEngine;
@@ -63,5 +65,7 @@ void qt_add_qmlxmlhttprequest(QScriptEngine *engine);
QT_END_NAMESPACE
+#endif // QT_NO_XMLSTREAMREADER
+
#endif // QDECLARATIVEXMLHTTPREQUEST_P_H