summaryrefslogtreecommitdiffstats
path: root/src/dbus/qdbusabstractadaptor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dbus/qdbusabstractadaptor.h')
-rw-r--r--src/dbus/qdbusabstractadaptor.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dbus/qdbusabstractadaptor.h b/src/dbus/qdbusabstractadaptor.h
index ad40933..fa64aef 100644
--- a/src/dbus/qdbusabstractadaptor.h
+++ b/src/dbus/qdbusabstractadaptor.h
@@ -45,6 +45,8 @@
#include <QtCore/qobject.h>
#include <QtDBus/qdbusmacros.h>
+#ifndef QT_NO_DBUS
+
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
@@ -73,4 +75,6 @@ QT_END_NAMESPACE
QT_END_HEADER
+#endif // QT_NO_DBUS
+
#endif