QNetworkInfo[win]: Explicitly link with oleaut32

Declaring it as an explicit dependency should hopefully make
the compilers order the object-files to be linked in the
correct order.

Task-number: QTBUG-114243
Pick-to: 6.6 6.5
Change-Id: I723fee468e58786f66d1bba50bc4086beb50adb1
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
This commit is contained in:
Mårten Nordheim 2023-06-12 12:50:52 +02:00
parent af8f9a2a6e
commit 230c53ad9d

View File

@ -17,6 +17,7 @@ qt_internal_add_plugin(QNLMNIPlugin
qt_internal_extend_target(QNLMNIPlugin CONDITION WIN32 AND MSVC AND NOT CLANG
LIBRARIES
runtimeobject
oleaut32
)
# Don't repeat the target name in AUTOGEN_BUILD_DIR to work around issues with overlong paths.