Fix AndroidDeployQtStep

Bug was introduced by Utils::CommandLine.
Cased "executable" to be an empty string.

Change-Id: I2b5cd31e3eb1d2d18252dac90de07c053de9f3ce
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Anton Danielsson
2019-05-30 17:47:38 +02:00
parent dfe38f79c3
commit a154f26af5

View File

@@ -300,7 +300,7 @@ AndroidDeployQtStep::DeployErrorCode AndroidDeployQtStep::runDeploy()
{ {
CommandLine cmd(Utils::FilePath::fromString(m_command), {}); CommandLine cmd(Utils::FilePath::fromString(m_command), {});
if (m_useAndroiddeployqt && m_apkPath.isEmpty()) { if (m_useAndroiddeployqt && m_apkPath.isEmpty()) {
cmd = m_androiddeployqtArgs; cmd.addArgs(m_androiddeployqtArgs.arguments());
if (m_uninstallPreviousPackageRun) if (m_uninstallPreviousPackageRun)
cmd.addArg("--install"); cmd.addArg("--install");
else else