forked from qt-creator/qt-creator
Avoid explicit checks for windows host when working with file paths
We have fileNameCaseSensitivity and withExecutableSuffix et al. Change-Id: I79bd2cd57e258c3f15673a661a49bab597d7afa4 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
@@ -224,9 +224,7 @@ bool AndroidDeployQtStep::init()
|
||||
QString command = version->qmakeProperty("QT_HOST_BINS");
|
||||
if (!command.endsWith(QLatin1Char('/')))
|
||||
command += QLatin1Char('/');
|
||||
command += QLatin1String("androiddeployqt");
|
||||
if (Utils::HostOsInfo::isWindowsHost())
|
||||
command += QLatin1String(".exe");
|
||||
command += Utils::HostOsInfo::withExecutableSuffix(QLatin1String("androiddeployqt"));
|
||||
|
||||
QString deploymentMethod;
|
||||
if (m_deployAction == MinistroDeployment)
|
||||
|
||||
Reference in New Issue
Block a user