diff options
| author | ruki <[email protected]> | 2026-02-23 19:25:35 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-02-23 19:25:35 +0800 |
| commit | 46050fdf098bd5abcb78f859d3192f78f2697645 (patch) | |
| tree | 085c64a6ad8cdbd654f00d178281a1b1042583f6 | |
| parent | 92ca4c19d8795eb454adfc07bad0e3c1bc246d21 (diff) | |
| parent | b638bcfdaac7082e9d344b869acd822e4e8c2b09 (diff) | |
Merge pull request #7329 from xmake-io/qt
improve qt deploy for macapp
| -rw-r--r-- | xmake/rules/qt/deploy/macosx.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/xmake/rules/qt/deploy/macosx.lua b/xmake/rules/qt/deploy/macosx.lua index deeafb11f..ac26bbd7d 100644 --- a/xmake/rules/qt/deploy/macosx.lua +++ b/xmake/rules/qt/deploy/macosx.lua @@ -166,7 +166,10 @@ function main(target, opt) end -- do deploy - local argv = {target_app, "-always-overwrite"} + local argv = {target_app} + if target:is_rebuilt() then + table.insert(argv, "-always-overwrite") + end if option.get("diagnosis") then table.insert(argv, "-verbose=3") elseif option.get("verbose") then |
