当我在QtCreator尝试编译Windows example时,先提示GdiPlusColor.h无法找到(原因:改为#include <gdiplus/GdiPlusColor.h>),然后就遇到了这个错误
D:\GithubRepo\Qt-Nice-Frameless-Window\framelesswindow\framelesswindow.cpp:62: error: undefined reference to `DwmExtendFrameIntoClientArea'
D:\GithubRepo\Qt-Nice-Frameless-Window\build-Qt-Nice-Frameless-Window-Desktop_Qt_5_15_2_MinGW_64_bit-Debug\framelesswindow\debug/libframelesswindow.a(framelesswindow.o): In function `CFramelessWindow::setResizeable(bool)':
D:\GithubRepo\Qt-Nice-Frameless-Window\build-Qt-Nice-Frameless-Window-Desktop_Qt_5_15_2_MinGW_64_bit-Debug\framelesswindow/../../framelesswindow/framelesswindow.cpp:62: undefined reference to `DwmExtendFrameIntoClientArea'
请问应该如何解决?
环境:
Win 10 21H2
Qt 5.15.2
VS2022(SDK 10)
当我在QtCreator尝试编译Windows example时,先提示
GdiPlusColor.h无法找到(原因:改为#include <gdiplus/GdiPlusColor.h>),然后就遇到了这个错误请问应该如何解决?
环境:
Win 10 21H2
Qt 5.15.2
VS2022(SDK 10)