Win32: QMake: fix build error

Fixes: #76

Signed-off-by: Yuhang Zhao <2546789017@qq.com>
This commit is contained in:
Yuhang Zhao 2021-08-16 16:23:44 +08:00
parent 6acfdfdf61
commit f18468dcca
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ win32 {
_UNICODE
CONFIG += windeployqt
CONFIG -= embed_manifest_exe
LIBS += -ldwmapi
LIBS += -luser32 -lshell32 -ldwmapi
RC_FILE = $$PWD/windows.rc
OTHER_FILES += $$PWD/windows.manifest
}

View File

@ -37,6 +37,6 @@ win32 {
SOURCES += \
utilities_win32.cpp \
framelesshelper_win32.cpp
LIBS += -ldwmapi
LIBS += -luser32 -lshell32 -ldwmapi
RC_FILE = framelesshelper.rc
}