Commit 506df46f 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 .

Change-Id: I636d1741a6fa7fb7eb35e51a513ad88950f606f6
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
Reviewed-by: default avatarDaniel Molkentin <daniel.molkentin@nokia.com>
parent e0f16c30
......@@ -216,7 +216,7 @@ RESOURCES += core.qrc \
win32 {
SOURCES += progressmanager/progressmanager_win.cpp
greaterThan(QT_MAJOR_VERSION, 4): QT += gui-private # Uses QPlatformNativeInterface.
LIBS += -lole32
LIBS += -lole32 -luser32
}
else:macx {
HEADERS += macfullscreen.h
......
......@@ -30,7 +30,8 @@ QtcPlugin {
cpp.dynamicLibraries: {
if (qbs.targetOS == "windows") return [
"ole32"
"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