diff options
| author | ruki <[email protected]> | 2022-01-04 23:27:22 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-01-04 23:27:22 +0800 |
| commit | 001af5a8122223a2cacc514525f72aa5f853ab82 (patch) | |
| tree | 7debbec78b05e2a89052de5f0aea53e553374c02 /xmake/rules/qt/deploy/android.lua | |
| parent | 77b107604093b5a905df60092f92e20f380f084b (diff) | |
improve to use qt libexec and bindir
Diffstat (limited to 'xmake/rules/qt/deploy/android.lua')
| -rw-r--r-- | xmake/rules/qt/deploy/android.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/rules/qt/deploy/android.lua b/xmake/rules/qt/deploy/android.lua index c1cad3b54..8076671e6 100644 --- a/xmake/rules/qt/deploy/android.lua +++ b/xmake/rules/qt/deploy/android.lua @@ -71,6 +71,9 @@ function main(target, opt) -- get androiddeployqt local androiddeployqt = path.join(qt.bindir, "androiddeployqt" .. (is_host("windows") and ".exe" or "")) + if not os.isexec(androiddeployqt) and qt.bindir_host then + androiddeployqt = path.join(qt.bindir_host, "androiddeployqt" .. (is_host("windows") and ".exe" or "")) + end assert(os.isexec(androiddeployqt), "androiddeployqt not found!") -- get working directory |
