summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2023-06-28 22:17:00 +0800
committerGitHub <[email protected]>2023-06-28 22:17:00 +0800
commit2c84c686782904a4c13aa4d49d2fe034ba46c4d9 (patch)
tree4a452961ff297050e98b5a4c55008545b1734265
parentf33ad6f582deaa9d576e12f40fed715eed168846 (diff)
parentba43d29e3f37fb870c251edca4ec29adf19c4747 (diff)
Merge pull request #3899 from zhuizhubf/dev
fix #3897
-rw-r--r--xmake/rules/qt/load.lua6
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