diff options
author | Markus Goetz <Markus.Goetz@nokia.com> | 2009-08-05 08:57:13 (GMT) |
---|---|---|
committer | Markus Goetz <Markus.Goetz@nokia.com> | 2009-08-05 10:20:23 (GMT) |
commit | 5f52d473eec0f1b46200b06dd7f5e16cb5c57c05 (patch) | |
tree | 457d8aac9da14afe76f9f3bf0d5dc186aeb62259 /src/network/access/qhttpnetworkrequest.cpp | |
parent | 118c82b0988c671045de448ffabc7ba95f015a69 (diff) | |
download | Qt-5f52d473eec0f1b46200b06dd7f5e16cb5c57c05.zip Qt-5f52d473eec0f1b46200b06dd7f5e16cb5c57c05.tar.gz Qt-5f52d473eec0f1b46200b06dd7f5e16cb5c57c05.tar.bz2 |
Fix compilation when QT_NO_HTTP is defined
Note however you still need to -nomake examples -nomake demos
when configuring Qt.
Reviewed-by: Thiago
Task: 259179
Diffstat (limited to 'src/network/access/qhttpnetworkrequest.cpp')
-rw-r--r-- | src/network/access/qhttpnetworkrequest.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/network/access/qhttpnetworkrequest.cpp b/src/network/access/qhttpnetworkrequest.cpp index 02ba629..32d51f3 100644 --- a/src/network/access/qhttpnetworkrequest.cpp +++ b/src/network/access/qhttpnetworkrequest.cpp @@ -41,6 +41,8 @@ #include "qhttpnetworkrequest_p.h" +#ifndef QT_NO_HTTP + QT_BEGIN_NAMESPACE QHttpNetworkRequestPrivate::QHttpNetworkRequestPrivate(QHttpNetworkRequest::Operation op, @@ -259,3 +261,5 @@ int QHttpNetworkRequest::minorVersion() const QT_END_NAMESPACE +#endif + |