Android: Respect the --no-build option for APK packages
Fixes: QTBUG-80884 Change-Id: I90bc3100aeb85089256ce414434c98753e02c79c Reviewed-by: BogDan Vatra <bogdan@kdab.com>
This commit is contained in:
parent
d5c9d88885
commit
54c713e58f
@ -417,7 +417,7 @@ Options parseOptions()
|
|||||||
options.buildAAB = true;
|
options.buildAAB = true;
|
||||||
options.build = true;
|
options.build = true;
|
||||||
options.jarSigner = true;
|
options.jarSigner = true;
|
||||||
} else if (options.buildAAB && argument.compare(QLatin1String("--no-build"), Qt::CaseInsensitive) == 0) {
|
} else if (!options.buildAAB && argument.compare(QLatin1String("--no-build"), Qt::CaseInsensitive) == 0) {
|
||||||
options.build = false;
|
options.build = false;
|
||||||
} else if (argument.compare(QLatin1String("--install"), Qt::CaseInsensitive) == 0) {
|
} else if (argument.compare(QLatin1String("--install"), Qt::CaseInsensitive) == 0) {
|
||||||
options.installApk = true;
|
options.installApk = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user