summaryrefslogtreecommitdiff
path: root/xmake/rules/qt/deploy/android.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-04-05 12:51:56 +0800
committerruki <[email protected]>2020-04-05 12:51:56 +0800
commit7e23b2f6e8920f1f95c48908db5f88161d2c4d01 (patch)
treecbb86b79b84e9ec32f228eb5011eebdf1f5a95b1 /xmake/rules/qt/deploy/android.lua
parent73caf845b1e4813d7fbb6779b9c3b1022177966e (diff)
deploy qt app
Diffstat (limited to 'xmake/rules/qt/deploy/android.lua')
-rw-r--r--xmake/rules/qt/deploy/android.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/rules/qt/deploy/android.lua b/xmake/rules/qt/deploy/android.lua
index 9f53ecc84..2f4cc40de 100644
--- a/xmake/rules/qt/deploy/android.lua
+++ b/xmake/rules/qt/deploy/android.lua
@@ -27,10 +27,10 @@ import("core.project.config")
function main(target, opt)
-- get target apk path
- local target_apk = path.join(path.directory(target:targetfile()), target:basename() .. ".apk")
+ local target_apk = path.join(target:targetdir(), target:basename() .. ".apk")
-- trace progress info
- cprintf("${color.build.progress}" .. theme.get("text.build.progress_format") .. ":${clear} ", opt.progress.stop)
+ cprintf("${color.build.progress}" .. theme.get("text.build.progress_format") .. ":${clear} ", opt.progress)
if option.get("verbose") then
cprint("${dim color.build.target}generating.qt.app %s.apk", target:basename())
else