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