Android: Do not deploy when missing build config

Fixes deployment on Android

Change-Id: Ie32407afc2151d7fdae62f69b4a1eecd1618da30
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
Vikas Pachdha
2018-05-09 11:53:58 +02:00
parent ded34daa2b
commit ee8b4f3512

View File

@@ -390,7 +390,7 @@ void AndroidDeployQtStep::run(QFutureInterface<bool> &fi)
emit setSerialNumber(serialNumber);
}
if (m_apkPath.isEmpty()) { // nothing to deploy
if (!target()->activeBuildConfiguration()) { // nothing to deploy
reportRunResult(fi, true);
return;
}