diff options
author | Jake Petroules <jake.petroules@qt.io> | 2017-08-13 18:45:09 -0700 |
---|---|---|
committer | Jake Petroules <jake.petroules@qt.io> | 2017-08-14 06:29:01 +0000 |
commit | 5e6ff555ab5a49650307b9fe2f9547892945935d (patch) | |
tree | 63d9863ed1fe5dd607526dade19b97a6e37a36f0 | |
parent | 78efd5cfe9776c6d5b45b5a0245b641367e5e8fc (diff) | |
download | qt-creator-5e6ff555ab5a49650307b9fe2f9547892945935d.tar.gz |
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>
-rw-r--r-- | src/plugins/winrt/winrtrunnerhelper.cpp | 8 |
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()) |