Fix deployment to Windows 10 Mobile devices

Task-number: QTCREATORBUG-18728
Change-Id: Ib04ca8a0a163611bbb53bc50f2e0009ab460ce35
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
This commit is contained in:
Jake Petroules
2017-08-13 18:45:09 -07:00
parent 78efd5cfe9
commit 5e6ff555ab

View File

@@ -183,8 +183,14 @@ void WinRtRunnerHelper::startWinRtRunner(const RunConf &conf)
break;
}
if (m_device->type() == Constants::WINRT_DEVICE_TYPE_LOCAL)
switch (m_device->type()) {
case Constants::WINRT_DEVICE_TYPE_LOCAL:
QtcProcess::addArgs(&runnerArgs, QStringLiteral("--profile appx"));
break;
case Constants::WINRT_DEVICE_TYPE_PHONE:
QtcProcess::addArgs(&runnerArgs, QStringLiteral("--profile appxphone"));
break;
}
QtcProcess::addArg(&runnerArgs, m_executableFilePath);
if (!m_arguments.isEmpty())