diff --git a/src/plugins/winrt/winrtrunnerhelper.cpp b/src/plugins/winrt/winrtrunnerhelper.cpp index a8986a8026572a9609f0487fa3224433453e04fa..dbeff0e13ed1f09b0458ab3f52d5b6cb24b0979b 100644 --- a/src/plugins/winrt/winrtrunnerhelper.cpp +++ b/src/plugins/winrt/winrtrunnerhelper.cpp @@ -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())