diff options
| -rw-r--r-- | xmake/rules/qt/load.lua | 6 |
1 files changed, 5 insertions, 1 deletions
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 |
