From 98437f0e2edde7f5e49e1a6bea27ef130b58bee4 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Fri, 17 Aug 2012 18:11:52 +0200 Subject: 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 --- src/dbus/dbus.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dbus/dbus.pro') 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 } -- cgit v1.2.3