diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2012-08-17 18:11:52 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-25 10:34:39 +0200 |
commit | 98437f0e2edde7f5e49e1a6bea27ef130b58bee4 (patch) | |
tree | a84c71ef0e431c00f0e129fc827d6c48d3f92b86 /src/dbus/dbus.pro | |
parent | 292350f70d56e02005dc3fbad9e50147bd13c5cc (diff) |
Add a way for QtDBus to force a call to dbus_shutdown
This will ask the D-Bus library to free its caches. It's useful for
running valgrind on a D-Bus based application, so we can detect real
leaks.
We can't run this by default because there could be other users of
libdbus-1. Calling the shutdown function would make them stop working.
Change-Id: I9854b82afcdbc4955d6f0a1a1b49a673186242c8
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
Diffstat (limited to 'src/dbus/dbus.pro')
-rw-r--r-- | src/dbus/dbus.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dbus/dbus.pro b/src/dbus/dbus.pro index d7b745d81e..3dd60c8447 100644 --- a/src/dbus/dbus.pro +++ b/src/dbus/dbus.pro @@ -12,7 +12,7 @@ MODULE_CONFIG = dbusadaptors dbusinterfaces DEFINES += DBUS_API_SUBJECT_TO_CHANGE QMAKE_CXXFLAGS += $$QT_CFLAGS_DBUS -contains(QT_CONFIG, dbus-linked) { +contains(QT_CONFIG, dbus-linked) { LIBS_PRIVATE += $$QT_LIBS_DBUS DEFINES += QT_LINKED_LIBDBUS } |