fix: build error on Windows#649
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: kt286 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Hi @kt286. Thanks for your PR. I'm waiting for a linuxdeepin member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
TAG Bot New tag: 6.7.46 |
| set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC -Wextra") | ||
|
|
||
| # Export all symbols for MinGW since DTK classes lack export macros | ||
| if(WIN32 AND NOT MSVC) |
There was a problem hiding this comment.
这里目前应该不用处理吧,外部使用dtkdeclarative一般是通过qml的uri方式,目前不导出符号应该没问题,
66f9ee9 to
7ded0c7
Compare
|
/retest |
修复在 MSYS2/MinGW (Windows) 下的构建问题 - Add Qt DBus dependency and MinGW export-all-symbols linker flag 添加 Qt DBus 依赖和 MinGW 导出所有符号的链接器标志 - Guard GCC-specific linker flags with NOT WIN32 用 NOT WIN32 条件保护 GCC 特有的链接器标志 - Defer FramelessWindowHint on Windows until native window is created 在 Windows 上延迟设置 FramelessWindowHint 直到原生窗口创建 - Move DStandardPaths/DPathBuf includes out of Q_OS_UNIX guard 将 DStandardPaths/DPathBuf 头文件移出 Q_OS_UNIX 条件编译 - Add null checks for OpenGL context/functions in blur node 在模糊节点中添加 OpenGL 上下文/函数的空指针检查 - Add DCI icon direct file lookup fallback on Windows 在 Windows 上添加 DCI 图标的直接文件查找回退 - Remove ASSETS_RCS from target sources 从目标源文件中移除 ASSETS_RCS
Add FramelessWindowHint flag for Windows platform and set window radius to 8px via Component.onCompleted callback. This fixes dialog window rendering issues on MSYS2/MinGW builds. fix(dialog): 为Windows添加无边框窗口支持 为Windows平台添加FramelessWindowHint标志,并在Component.onCompleted 回调中设置窗口圆角半径为8像素。修复MSYS2/MinGW构建中对话框窗口的 渲染问题。
f982f20 to
fe2c812
Compare

fix build error on Windows