forked from qt-creator/qt-creator
Android: Simplify apkPath determination
It doesn't explicitly need the qtSupport indirection anymore. Change-Id: I25f0649a3b7760fdef3b62097ac55341e6b16fe4 Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
This commit is contained in:
@@ -218,8 +218,7 @@ bool AndroidDeployQtStep::init(QList<const BuildStep *> &earlierSteps)
|
||||
m_uninstallPreviousPackageRun = true;
|
||||
m_command = AndroidConfigurations::currentConfig().adbToolPath().toString();
|
||||
const AndroidConfig &config = AndroidConfigurations::currentConfig();
|
||||
m_apkPath = deployQtLive ? config.qtLiveApkPath() :
|
||||
(qtSupport ? qtSupport->apkPath(target()) : Utils::FileName());
|
||||
m_apkPath = deployQtLive ? config.qtLiveApkPath() : AndroidManager::apkPath(target());
|
||||
m_workingDirectory = bc ? bc->buildDirectory().toString() : QString();
|
||||
}
|
||||
m_environment = bc ? bc->environment() : Utils::Environment();
|
||||
|
||||
Reference in New Issue
Block a user