From fa80ee3fdcb6f70d7eb89b097fcbcd7039fb0520 Mon Sep 17 00:00:00 2001 From: Sean Harmer Date: Thu, 19 Jul 2012 11:37:10 +0100 Subject: Use improved QLibrary search heuristics for libresolv Change-Id: Iecd4c19ae6d9c415bca828bf2ea2557f0fb96241 Reviewed-by: Thiago Macieira --- src/network/kernel/qhostinfo_unix.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/network/kernel/qhostinfo_unix.cpp b/src/network/kernel/qhostinfo_unix.cpp index d30ffb1..97fc275 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; -- cgit v0.12