diff options
| author | ruki <[email protected]> | 2023-06-28 22:17:00 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-06-28 22:17:00 +0800 |
| commit | 2c84c686782904a4c13aa4d49d2fe034ba46c4d9 (patch) | |
| tree | 4a452961ff297050e98b5a4c55008545b1734265 | |
| parent | f33ad6f582deaa9d576e12f40fed715eed168846 (diff) | |
| parent | ba43d29e3f37fb870c251edca4ec29adf19c4747 (diff) | |
Merge pull request #3899 from zhuizhubf/dev
fix #3897
| -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 |
