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
Change-Id: I723fee468e58786f66d1bba50bc4086beb50adb1
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
(cherry picked from commit 230c53ad9d7046e61b37ce63a6bc68449393bb7b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Mårten Nordheim 2023-06-12 12:50:52 +02:00 committed by Qt Cherry-pick Bot
parent 0fa6b3dcf4
commit 49283c156d

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.