summaryrefslogtreecommitdiffstats
path: root/src/serviceframework
diff options
context:
space:
mode:
authorLincoln Ramsay <lincoln.ramsay@nokia.com>2012-06-26 14:36:26 +1000
committerQt by Nokia <qt-info@nokia.com>2012-06-26 07:03:19 +0200
commite1752c426f19b48a37b6b9975c21021c3dc5716b (patch)
tree22a02fed493469eafb5d1972f388e0f2266b652e /src/serviceframework
parent2488f111620b0a1732a0cffe8f868f3d857e5f72 (diff)
Compile
If the Unix IPC backend is used and debug is off, we don't have QtNetwork Change-Id: Idd5bfe08a98f19a2a39df5ec5893c699f0e803e5 Reviewed-by: Alex <alex.blasche@nokia.com>
Diffstat (limited to 'src/serviceframework')
-rw-r--r--src/serviceframework/qservicedebuglog.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/serviceframework/qservicedebuglog.cpp b/src/serviceframework/qservicedebuglog.cpp
index 9b607317..e9cbdf60 100644
--- a/src/serviceframework/qservicedebuglog.cpp
+++ b/src/serviceframework/qservicedebuglog.cpp
@@ -45,10 +45,8 @@
#include <QMutex>
#include <QMutexLocker>
-#include <QUdpSocket>
#include <QCoreApplication>
#include <QFileInfo>
-#include <QNetworkInterface>
#ifdef Q_OS_UNIX
#include <signal.h>
@@ -83,7 +81,10 @@ QServiceDebugMessage::~QServiceDebugMessage()
#endif
}
+#ifdef QT_SFW_IPC_DEBUG
+#include <QHostAddress>
const static QHostAddress _group_addr(QLatin1String("224.0.105.201"));
+#endif
QServiceDebugLog::QServiceDebugLog()
{