summaryrefslogtreecommitdiff
path: root/xmake/rules/qt/deploy/android.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-07-12 07:11:40 +0800
committerGitHub <[email protected]>2022-07-12 07:11:40 +0800
commita7a21777f4c6125d9830a264bc508d2f805d9e1b (patch)
treee9bcd0235a6c21b95a26e621379940201f9853f6 /xmake/rules/qt/deploy/android.lua
parent380591173f252275df68fc33d08404d2ecc7d166 (diff)
parenta0242072d307b331217f0d2d058032fb44829c4a (diff)
Merge pull request #2558 from Arthapz/Fix-qmldir-deployqt
Add user variables to configure deployqt and fix qml plugins files install dir
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