summaryrefslogtreecommitdiff
path: root/tools/assistant
diff options
context:
space:
mode:
authorMarkus Goetz <Markus.Goetz@nokia.com>2009-08-05 10:57:13 +0200
committerMarkus Goetz <Markus.Goetz@nokia.com>2009-08-05 12:20:23 +0200
commit5f52d473eec0f1b46200b06dd7f5e16cb5c57c05 (patch)
tree457d8aac9da14afe76f9f3bf0d5dc186aeb62259 /tools/assistant
parent118c82b0988c671045de448ffabc7ba95f015a69 (diff)
downloadqt4-tools-5f52d473eec0f1b46200b06dd7f5e16cb5c57c05.tar.gz
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/assistant')
-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 5a8dfeaf8e..2574f1f8b4 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 62759ecd77..9e18a22b96 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