Commit 6441d5f2 authored by Friedemann Kleint's avatar Friedemann Kleint Committed by Daniel Molkentin

Fix linking of the core plugin on Windows.

DestroyIcon needs user32.dll.

Introduced by e0f16c30 .
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
Reviewed-by: default avatarDaniel Molkentin <daniel.molkentin@nokia.com>
(cherry picked from commit 506df46f)

Change-Id: I11075c9cb911af403cb5ded74437c5a785fb768c
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
Reviewed-by: default avatarDaniel Molkentin <daniel.molkentin@nokia.com>
parent 98f3bd29
......@@ -210,7 +210,7 @@ RESOURCES += core.qrc \
win32 {
SOURCES += progressmanager/progressmanager_win.cpp
LIBS += -lole32
LIBS += -lole32 -luser32
}
else:macx {
OBJECTIVE_SOURCES += progressmanager/progressmanager_mac.mm
......
......@@ -24,8 +24,9 @@ QtcPlugin {
]
cpp.dynamicLibraries: {
if (qbs.targetOS == 'windows') return [
"ole32"
if (qbs.targetOS == "windows") return [
"ole32",
"user32"
]
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment