您好,看了一下代码有个问题,FramelessWindow-Qt/libTest/MainWindow.cpp这个文件的void MainWindow::onWinWindow()应该添加#ifdef Q_OS_WIN32和#endif宏控制,另外MuWinTitlebar也需要添加宏控制