summaryrefslogtreecommitdiffstats
path: root/src/dbus/qdbusxmlparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dbus/qdbusxmlparser.cpp')
-rw-r--r--src/dbus/qdbusxmlparser.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dbus/qdbusxmlparser.cpp b/src/dbus/qdbusxmlparser.cpp
index ac8109f..05e2b11d 100644
--- a/src/dbus/qdbusxmlparser.cpp
+++ b/src/dbus/qdbusxmlparser.cpp
@@ -50,6 +50,8 @@
#include <QtCore/qvariant.h>
#include <QtCore/qtextstream.h>
+#ifndef QT_NO_DBUS
+
QT_BEGIN_NAMESPACE
static QDBusIntrospection::Annotations
@@ -367,3 +369,5 @@ QDBusXmlParser::objectTree() const
}
QT_END_NAMESPACE
+
+#endif // QT_NO_DBUS