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 {
|
win32 {
|
||||||
SOURCES += progressmanager/progressmanager_win.cpp
|
SOURCES += progressmanager/progressmanager_win.cpp
|
||||||
LIBS += -lole32
|
LIBS += -lole32 -luser32
|
||||||
}
|
}
|
||||||
else:macx {
|
else:macx {
|
||||||
OBJECTIVE_SOURCES += progressmanager/progressmanager_mac.mm
|
OBJECTIVE_SOURCES += progressmanager/progressmanager_mac.mm
|
||||||
|
@@ -24,8 +24,9 @@ QtcPlugin {
|
|||||||
]
|
]
|
||||||
|
|
||||||
cpp.dynamicLibraries: {
|
cpp.dynamicLibraries: {
|
||||||
if (qbs.targetOS == 'windows') return [
|
if (qbs.targetOS == "windows") return [
|
||||||
"ole32"
|
"ole32",
|
||||||
|
"user32"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user