From ba43d29e3f37fb870c251edca4ec29adf19c4747 Mon Sep 17 00:00:00 2001 From: zhuizhubf <48177673+zhuizhubf@users.noreply.github.com> Date: Wed, 28 Jun 2023 22:15:39 +0800 Subject: fix #3897 fix #3897 --- xmake/rules/qt/load.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/xmake/rules/qt/load.lua b/xmake/rules/qt/load.lua index 1ae5c67c6..d9feb1059 100644 --- a/xmake/rules/qt/load.lua +++ b/xmake/rules/qt/load.lua @@ -32,7 +32,11 @@ function _link(target, linkdirs, framework, qt_sdkver) if target:is_plat("windows") then debug_suffix = "d" elseif target:is_plat("mingw") then - debug_suffix = "d" + if qt_sdkver:ge("5.15.2") then + debug_suffix = "" + else + debug_suffix = "d" + end elseif target:is_plat("android") or target:is_plat("linux") then debug_suffix = "" end -- cgit v1.3.1