summaryrefslogtreecommitdiff
path: root/src/plugins/winrt/winrtrunnerhelper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/winrt/winrtrunnerhelper.cpp')
-rw-r--r--src/plugins/winrt/winrtrunnerhelper.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/plugins/winrt/winrtrunnerhelper.cpp b/src/plugins/winrt/winrtrunnerhelper.cpp
index a8986a8026..dbeff0e13e 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())