summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2025-05-26 09:15:47 +0800
committerGitHub <[email protected]>2025-05-26 09:15:47 +0800
commit946df8f32d7e6efa663d439e4ad2c550eb79b7a5 (patch)
treede4b91317fb42132b1bbcec1df85beab5ea47804
parent7bb9e19b4a3a4fa074c122e0e5c229b5388f348d (diff)
parentbeb6a9e1bb953bc9282a8c1065f9494fb3974fc2 (diff)
Merge pull request #6501 from binLep/dev
fix: rcc search path for qt android
-rw-r--r--xmake/rules/qt/deploy/android.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/rules/qt/deploy/android.lua b/xmake/rules/qt/deploy/android.lua
index 453e0d2f5..761536fe4 100644
--- a/xmake/rules/qt/deploy/android.lua
+++ b/xmake/rules/qt/deploy/android.lua
@@ -163,6 +163,8 @@ function main(target, opt)
local search_dirs = {}
if qt.bindir_host then table.insert(search_dirs, qt.bindir_host) end
if qt.bindir then table.insert(search_dirs, qt.bindir) end
+ if qt.libexecdir_host then table.insert(search_dirs, qt.libexecdir_host) end
+ if qt.libexecdir then table.insert(search_dirs, qt.libexecdir) end
local rcc = find_file("rcc" .. (is_host("windows") and ".exe" or ""), search_dirs)
if os.isexec(rcc) then
settings_file:print(' "rcc-binary": "%s",', _escape_path(rcc))