summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorSean Harmer <sean.harmer@kdab.com>2012-07-19 11:37:10 +0100
committerQt by Nokia <qt-info@nokia.com>2012-07-27 18:07:01 +0200
commitfa80ee3fdcb6f70d7eb89b097fcbcd7039fb0520 (patch)
treed414d8ee807ebcd818380bd43e723e631ecca0b8 /src/network
parent34303994dbc8ed58a9fa00e8ad9b75e01e629d46 (diff)
Use improved QLibrary search heuristics for libresolv
Change-Id: Iecd4c19ae6d9c415bca828bf2ea2557f0fb96241 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/network')
-rw-r--r--src/network/kernel/qhostinfo_unix.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/kernel/qhostinfo_unix.cpp b/src/network/kernel/qhostinfo_unix.cpp
index d30ffb10dd..97fc2756fb 100644
--- a/src/network/kernel/qhostinfo_unix.cpp
+++ b/src/network/kernel/qhostinfo_unix.cpp
@@ -96,6 +96,7 @@ static void resolveLibrary()
{
#ifndef QT_NO_LIBRARY
QLibrary lib(QLatin1String("resolv"));
+ lib.setLoadHints(QLibrary::ImprovedSearchHeuristics);
if (!lib.load())
return;