diff options
author | Sean Harmer <sean.harmer@kdab.com> | 2012-07-19 10:37:10 (GMT) |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-27 16:07:01 (GMT) |
commit | fa80ee3fdcb6f70d7eb89b097fcbcd7039fb0520 (patch) | |
tree | d414d8ee807ebcd818380bd43e723e631ecca0b8 /src/network | |
parent | 34303994dbc8ed58a9fa00e8ad9b75e01e629d46 (diff) | |
download | Qt-fa80ee3fdcb6f70d7eb89b097fcbcd7039fb0520.zip Qt-fa80ee3fdcb6f70d7eb89b097fcbcd7039fb0520.tar.gz Qt-fa80ee3fdcb6f70d7eb89b097fcbcd7039fb0520.tar.bz2 |
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.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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; |