diff options
| author | [email protected] <[email protected]> | 2022-09-29 21:24:53 +0800 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2022-09-29 21:27:59 +0800 |
| commit | 4b3c3dc436ccc316db0219cf1cd4f175482eb555 (patch) | |
| tree | a91a3b7500ec2a30d521fca761670ea209204c06 | |
| parent | 34dd0f03af660bef5c62efc4c77c16da66c1a579 (diff) | |
Simplify code
| -rw-r--r-- | xmake/rules/qt/load.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/qt/load.lua b/xmake/rules/qt/load.lua index 4e76fe348..7d641b134 100644 --- a/xmake/rules/qt/load.lua +++ b/xmake/rules/qt/load.lua @@ -39,7 +39,7 @@ function _link(target, linkdirs, framework, qt_sdkver) if qt_sdkver:ge("5.0") then framework = "Qt" .. qt_sdkver:major() .. framework:sub(3) .. (is_mode("debug") and debug_suffix or "") else -- for qt4.x, e.g. QtGui4.lib - if target:is_plat("windows") or target:is_plat("mingw") then + if target:is_plat("windows", "mingw") then framework = "Qt" .. framework:sub(3) .. (is_mode("debug") and debug_suffix or "") .. qt_sdkver:major() else framework = "Qt" .. framework:sub(3) .. (is_mode("debug") and debug_suffix or "") |
