summaryrefslogtreecommitdiffstats
path: root/src/dbus/qdbuscontext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dbus/qdbuscontext.cpp')
-rw-r--r--src/dbus/qdbuscontext.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dbus/qdbuscontext.cpp b/src/dbus/qdbuscontext.cpp
index 13c696c..b9a660a 100644
--- a/src/dbus/qdbuscontext.cpp
+++ b/src/dbus/qdbuscontext.cpp
@@ -46,6 +46,8 @@
#include "qdbuscontext.h"
#include "qdbuscontext_p.h"
+#ifndef QT_NO_DBUS
+
QT_BEGIN_NAMESPACE
QDBusContextPrivate *QDBusContextPrivate::set(QObject *obj, QDBusContextPrivate *newContext)
@@ -202,3 +204,5 @@ void QDBusContext::sendErrorReply(QDBusError::ErrorType type, const QString &msg
}
QT_END_NAMESPACE
+
+#endif // QT_NO_DBUS