forked from qt-creator/qt-creator
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:
committed by
Daniel Molkentin
parent
e0f16c3093
commit
506df46f0b
@@ -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"
|
||||
]
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user