path: root/src/dbus/
diff options
authorThiago Macieira <>2014-11-24 23:41:00 -0800
committerJani Heikkinen <>2014-12-01 20:03:33 +0100
commita2da88712f1e057747f68a28361b300faac5e605 (patch)
tree2835260dd00fbca0287edcf1329db7bdc5aa4820 /src/dbus/
parent38d3a7bb6eec46f1bab5ed53334ff2639e9b6eea (diff)
Make QtDBus compile without libdbus-1 headers, if dlopening
Most of QtDBus already needs very little from libdus-1, so create an extra header containing the minimum API we actually need. One large advantage of this solution is that now QtDBus can always be enabled, even if the system doesn't have libdbus-1 installed. This is interesting on OS X, where libdbus-1 is often installed by Homebrew or MacPorts, which may include extra libraries we don't want in our packaging. Change-Id: I1b397121ec12eeca333ef778cf8e1c7b64d6b223 Reviewed-by: Lars Knoll <>
Diffstat (limited to 'src/dbus/')
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dbus/ b/src/dbus/
index c5afe8c4d2..3ef8e6c80c 100644
--- a/src/dbus/
+++ b/src/dbus/
@@ -61,7 +61,8 @@ HEADERS += $$PUB_HEADERS \
qdbusintegrator_p.h \
qdbuspendingcall_p.h \
qdbus_symbols_p.h \
- qdbusintrospection_p.h
+ qdbusintrospection_p.h \
+ dbus_minimal_p.h
SOURCES += qdbusconnection.cpp \
qdbusconnectioninterface.cpp \
qdbuserror.cpp \