summaryrefslogtreecommitdiffstats
path: root/src/dbus/qdbusserver.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dbus/qdbusserver.h')
-rw-r--r--src/dbus/qdbusserver.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dbus/qdbusserver.h b/src/dbus/qdbusserver.h
index 12c910d..90d40f5 100644
--- a/src/dbus/qdbusserver.h
+++ b/src/dbus/qdbusserver.h
@@ -45,6 +45,8 @@
#include <QtCore/qstring.h>
#include <QtDBus/qdbusmacros.h>
+#ifndef QT_NO_DBUS
+
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
@@ -77,4 +79,5 @@ QT_END_NAMESPACE
QT_END_HEADER
+#endif // QT_NO_DBUS
#endif