diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/dbus/qdbus_symbols.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dbus/qdbus_symbols.cpp b/src/dbus/qdbus_symbols.cpp index 97d809d..24a56e9 100644 --- a/src/dbus/qdbus_symbols.cpp +++ b/src/dbus/qdbus_symbols.cpp @@ -76,6 +76,7 @@ bool qdbus_loadLibDBus() static int majorversions[] = { 3, 2, -1 }; lib->unload(); lib->setFileName(QLatin1String("dbus-1")); + lib->setLoadHints(QLibrary::ImprovedSearchHeuristics); for (uint i = 0; i < sizeof(majorversions) / sizeof(majorversions[0]); ++i) { lib->setFileNameAndVersion(lib->fileName(), majorversions[i]); if (lib->load() && lib->resolve("dbus_connection_open_private")) |