EasyCanvas
EasyCanvas copied to clipboard
::DwmExtendFrameIntoClientArea(HWND(winId()), &shadow);
.\EasyCanvas-master\CustomWidgets\UICustomWidgtes\CustomDialog.cpp:122: error: undefined reference to `DwmExtendFrameIntoClientArea'
.\EasyCanvas-master\CustomWidgets\UICustomWidgtes\CustomDialog.cpp:122: error: undefined reference to `DwmExtendFrameIntoClientArea'
这个是windows的API,请确保您所用的系统为Windows。该函数所在头文件为dwmapi.h,lib库为dwmapi.lib。 如果仍然报错,可以注释掉相关的Windows API调用,该函数所在的类主要是为了实现系统的无边框窗口。