Add qt sdk support

This commit is contained in:
est31 2016-09-24 14:10:55 +02:00
parent d3a215c12b
commit 91c5fb567a
7 changed files with 101 additions and 4 deletions

View file

@ -60,6 +60,7 @@ default_config = {
'r11c': None,
'r12b': "$ANDROID_NDK",
},
'qt_sdk_path': None,
'build_tools': "24.0.2",
'force_build_tools': False,
'java_paths': None,
@ -1836,6 +1837,7 @@ def replace_config_vars(cmd, build):
cmd = cmd.replace('$$SDK$$', config['sdk_path'])
cmd = cmd.replace('$$NDK$$', build.ndk_path())
cmd = cmd.replace('$$MVN3$$', config['mvn3'])
cmd = cmd.replace('$$QT$$', config['qt_sdk_path'] or '')
if build is not None:
cmd = cmd.replace('$$COMMIT$$', build.commit)
cmd = cmd.replace('$$VERSION$$', build.version)