Handling minimum required Android API level for Qt 5.7

The build breaks now with a clear warning if the minimum API level set is less than the minimum required by the kit.
The device dialog also used to show incorrect devices on the first compile cycle in case of the missing manifest file. Now
stock manifest file is used from the kit to analyze the minumun API level for the devices

Task-number: QTCREATORBUG-16740
Change-Id: Icd4d8209dad870cba5f99af1dd700830517f9294
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
This commit is contained in:
Vikas Pachdha
2016-08-17 18:46:12 +02:00
parent f9a44fc486
commit 23c36076da
3 changed files with 49 additions and 11 deletions

View File

@@ -66,6 +66,7 @@ public:
static bool signPackage(ProjectExplorer::Target *target);
static int minimumSDK(ProjectExplorer::Target *target);
static int minimumSDK(const ProjectExplorer::Kit *kit);
static QString targetArch(ProjectExplorer::Target *target);