summaryrefslogtreecommitdiffstats
path: root/src/dbus/qdbuscontext.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dbus/qdbuscontext.h')
-rw-r--r--src/dbus/qdbuscontext.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dbus/qdbuscontext.h b/src/dbus/qdbuscontext.h
index efaa79f..13fbe4b 100644
--- a/src/dbus/qdbuscontext.h
+++ b/src/dbus/qdbuscontext.h
@@ -45,6 +45,8 @@
#include <QtCore/qstring.h>
#include <QtDBus/qdbuserror.h>
+#ifndef QT_NO_DBUS
+
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
@@ -81,4 +83,5 @@ QT_END_NAMESPACE
QT_END_HEADER
+#endif // QT_NO_DBUS
#endif