Android: Rework Create AVD dialog

Filter the list of api levels to only show those that can be created.

Change-Id: I7aaaa58324ca44176e39982cda29d746011fa346
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
This commit is contained in:
Daniel Teske
2014-03-24 16:31:28 +01:00
parent 7e4502d676
commit a087b3cd7f
10 changed files with 307 additions and 89 deletions

View File

@@ -160,7 +160,9 @@ void AndroidDeployQtStep::ctor()
m_verbose = false;
// will be overwriten by settings if the user choose something different
m_buildTargetSdk = AndroidConfigurations::currentConfig().highestAndroidSdk();
SdkPlatform sdk = AndroidConfigurations::currentConfig().highestAndroidSdk();
if (sdk.apiLevel > 0)
m_buildTargetSdk = QLatin1String("android-") + QString::number(sdk.apiLevel);
connect(project(), SIGNAL(proFilesEvaluated()),
this, SLOT(updateInputFile()));