summaryrefslogtreecommitdiffstats
path: root/src/dbus/qdbusmacros.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dbus/qdbusmacros.h')
-rw-r--r--src/dbus/qdbusmacros.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dbus/qdbusmacros.h b/src/dbus/qdbusmacros.h
index 5447c33..77122fc 100644
--- a/src/dbus/qdbusmacros.h
+++ b/src/dbus/qdbusmacros.h
@@ -64,10 +64,13 @@
#endif
// prevent syncqt complaints
+#ifndef QT_NO_DBUS
+
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
QT_MODULE(DBus)
QT_END_NAMESPACE
QT_END_HEADER
+#endif // QT_NO_DBUS
#endif