forked from qt-creator/qt-creator
Fix linking of the core plugin on Windows.
DestroyIcon needs user32.dll. Introduced bye0f16c3093
. Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com> (cherry picked from commit506df46f0b
) Change-Id: I11075c9cb911af403cb5ded74437c5a785fb768c Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
This commit is contained in:
committed by
Daniel Molkentin
parent
98f3bd2930
commit
6441d5f214
@@ -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"
|
||||
]
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user