summaryrefslogtreecommitdiffstats
path: root/src/dbus/qdbusabstractadaptor_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dbus/qdbusabstractadaptor_p.h')
-rw-r--r--src/dbus/qdbusabstractadaptor_p.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dbus/qdbusabstractadaptor_p.h b/src/dbus/qdbusabstractadaptor_p.h
index 539f26c..312197f 100644
--- a/src/dbus/qdbusabstractadaptor_p.h
+++ b/src/dbus/qdbusabstractadaptor_p.h
@@ -67,6 +67,8 @@
#define QCLASSINFO_DBUS_INTERFACE "D-Bus Interface"
#define QCLASSINFO_DBUS_INTROSPECTION "D-Bus Introspection"
+#ifndef QT_NO_DBUS
+
QT_BEGIN_NAMESPACE
class QDBusAbstractAdaptor;
@@ -132,4 +134,5 @@ extern QDBusAdaptorConnector *qDBusCreateAdaptorConnector(QObject *object);
QT_END_NAMESPACE
+#endif // QT_NO_DBUS
#endif // QDBUSABSTRACTADAPTORPRIVATE_H