diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2010-09-06 12:34:06 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2010-09-06 12:34:06 (GMT) |
commit | 2735bc6759f881c786a1097580a8682e3d28f365 (patch) | |
tree | d16cbc4e32c4f4a2f5e49083400f9ab85831b09a /src/qt3support/network | |
parent | 234751504f2703d39e562966431a54c015fb990e (diff) | |
parent | 688deeee6c8c2892becb4207f8c40dddba0e3769 (diff) | |
download | Qt-2735bc6759f881c786a1097580a8682e3d28f365.zip Qt-2735bc6759f881c786a1097580a8682e3d28f365.tar.gz Qt-2735bc6759f881c786a1097580a8682e3d28f365.tar.bz2 |
Merge branch '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.6-integration
* '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
Add missing license header
Compile fix MinGW, 5738dcd705e7edde816940f9c0ab2c364c81ad20 broke it.
Compile fix WinCE
Ensure that we load system libraries from the correct location.
Diffstat (limited to 'src/qt3support/network')
-rw-r--r-- | src/qt3support/network/q3dns.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qt3support/network/q3dns.cpp b/src/qt3support/network/q3dns.cpp index ab042c4..e0e9909 100644 --- a/src/qt3support/network/q3dns.cpp +++ b/src/qt3support/network/q3dns.cpp @@ -41,6 +41,7 @@ #include "qplatformdefs.h" #include "qbytearray.h" +#include <private/qsystemlibrary_p.h> #if defined(Q_OS_WIN32) || defined(Q_OS_WINCE) || defined(Q_OS_CYGWIN) # include "qt_windows.h" #else @@ -2299,7 +2300,7 @@ void Q3Dns::doResInit() bool gotNetworkParams = false; // try the API call GetNetworkParams() first and use registry lookup only // as a fallback - HINSTANCE hinstLib = LoadLibrary( L"iphlpapi" ); + HINSTANCE hinstLib = QSystemLibrary::load( L"iphlpapi" ); if ( hinstLib != 0 ) { #ifdef Q_OS_WINCE GNP getNetworkParams = (GNP) GetProcAddress( hinstLib, L"GetNetworkParams" ); |