Commit 5e6ff555 authored by Jake Petroules's avatar Jake Petroules

Fix deployment to Windows 10 Mobile devices

Task-number: QTCREATORBUG-18728
Change-Id: Ib04ca8a0a163611bbb53bc50f2e0009ab460ce35
Reviewed-by: Oliver Wolff's avatarOliver Wolff <oliver.wolff@qt.io>
Reviewed-by: Maurice Kalinowski's avatarMaurice Kalinowski <maurice.kalinowski@qt.io>
parent 78efd5cf
......@@ -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())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment