forked from qt-creator/qt-creator
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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user