From 91feefd7d952d1e3a6b6e985afe34e2d726b2e38 Mon Sep 17 00:00:00 2001 From: Robert Griebl Date: Tue, 17 Mar 2015 13:32:29 +0100 Subject: Export the symbols of libdbus-1 when loading it at runtime. This allows applications that need additional symbols from the library to easily obtain them without needing to replicate the library open logic from qdbus_symbols.cpp. Change-Id: Ic65ef6684637fbcd1c9f4fe1dc7a57f0624b61a8 Reviewed-by: Thiago Macieira --- src/dbus/qdbus_symbols.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/dbus/qdbus_symbols.cpp b/src/dbus/qdbus_symbols.cpp index 56e836c9ae..b82d92b561 100644 --- a/src/dbus/qdbus_symbols.cpp +++ b/src/dbus/qdbus_symbols.cpp @@ -81,6 +81,7 @@ bool qdbus_loadLibDBus() return lib && lib->isLoaded(); lib = new QLibrary; + lib->setLoadHints(QLibrary::ExportExternalSymbolsHint); // make libdbus symbols available for apps that need more advanced control over the dbus triedToLoadLibrary = true; static int majorversions[] = { 3, 2, -1 }; -- cgit v1.2.3