summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMarkus Goetz <Markus.Goetz@nokia.com>2009-08-05 08:57:13 (GMT)
committerMarkus Goetz <Markus.Goetz@nokia.com>2009-08-05 10:20:23 (GMT)
commit5f52d473eec0f1b46200b06dd7f5e16cb5c57c05 (patch)
tree457d8aac9da14afe76f9f3bf0d5dc186aeb62259 /tools
parent118c82b0988c671045de448ffabc7ba95f015a69 (diff)
downloadQt-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 'tools')
-rw-r--r--tools/assistant/tools/assistant/installdialog.cpp2
-rw-r--r--tools/assistant/tools/assistant/installdialog.h4
2 files changed, 6 insertions, 0 deletions
diff --git a/tools/assistant/tools/assistant/installdialog.cpp b/tools/assistant/tools/assistant/installdialog.cpp
index 5a8dfea..2574f1f 100644
--- a/tools/assistant/tools/assistant/installdialog.cpp
+++ b/tools/assistant/tools/assistant/installdialog.cpp
@@ -56,6 +56,7 @@
#include <QtNetwork/QHttp>
QT_BEGIN_NAMESPACE
+#ifndef QT_NO_HTTP
#define QCH_FILENAME 92943
#define QCH_NAMESPACE 92944
@@ -335,4 +336,5 @@ void InstallDialog::browseDirectories()
m_ui.pathLineEdit->setText(dir);
}
+#endif
QT_END_NAMESPACE
diff --git a/tools/assistant/tools/assistant/installdialog.h b/tools/assistant/tools/assistant/installdialog.h
index 62759ec..9e18a22b9 100644
--- a/tools/assistant/tools/assistant/installdialog.h
+++ b/tools/assistant/tools/assistant/installdialog.h
@@ -47,6 +47,8 @@
#include <QtNetwork/QHttpResponseHeader>
#include "ui_installdialog.h"
+#ifndef QT_NO_HTTP
+
QT_BEGIN_NAMESPACE
class QHttp;
@@ -98,4 +100,6 @@ private:
QT_END_NAMESPACE
+#endif
+
#endif // INSTALLDIALOG_H