summaryrefslogtreecommitdiff
path: root/xmake/rules/qt/deploy/android.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/rules/qt/deploy/android.lua')
-rw-r--r--xmake/rules/qt/deploy/android.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/xmake/rules/qt/deploy/android.lua b/xmake/rules/qt/deploy/android.lua
index c5bc810c4..5e6a641d8 100644
--- a/xmake/rules/qt/deploy/android.lua
+++ b/xmake/rules/qt/deploy/android.lua
@@ -216,6 +216,13 @@ function main(target, opt)
if option.get("verbose") and option.get("diagnosis") then
table.insert(argv, "--verbose")
end
+
+ -- add user flags
+ local user_flags = target:values("qt.deploy.flags") or {}
+ if user_flags then
+ table.join(argv, user_flags)
+ end
+
os.vrunv(androiddeployqt, argv)
-- output apk