Fix linking of the core plugin on Windows.

DestroyIcon needs user32.dll.

Introduced by e0f16c3093 .

Change-Id: I636d1741a6fa7fb7eb35e51a513ad88950f606f6
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
This commit is contained in:
Friedemann Kleint
2012-07-30 12:27:11 +02:00
committed by Daniel Molkentin
parent e0f16c3093
commit 506df46f0b
2 changed files with 3 additions and 2 deletions

View File

@@ -216,7 +216,7 @@ RESOURCES += core.qrc \
win32 { win32 {
SOURCES += progressmanager/progressmanager_win.cpp SOURCES += progressmanager/progressmanager_win.cpp
greaterThan(QT_MAJOR_VERSION, 4): QT += gui-private # Uses QPlatformNativeInterface. greaterThan(QT_MAJOR_VERSION, 4): QT += gui-private # Uses QPlatformNativeInterface.
LIBS += -lole32 LIBS += -lole32 -luser32
} }
else:macx { else:macx {
HEADERS += macfullscreen.h HEADERS += macfullscreen.h

View File

@@ -30,7 +30,8 @@ QtcPlugin {
cpp.dynamicLibraries: { cpp.dynamicLibraries: {
if (qbs.targetOS == "windows") return [ if (qbs.targetOS == "windows") return [
"ole32" "ole32",
"user32"
] ]
} }