forked from qt-creator/qt-creator
WinRT: specify argument for winrtrunner
Starting with Windows 10 the application manifest does not specify the target device anymore. Hence winrtrunner cannot automatically detect which profile to use. Instead, use the device information from the kit and explicitly set it as additional arguments. Change-Id: Id2f747a270620b6a6e7d0ae578adfc4373d80266 Reviewed-by: Andrew Knight <andrew.knight@intopalo.com> Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
This commit is contained in:
@@ -218,6 +218,9 @@ void WinRtRunnerHelper::startWinRtRunner(const RunConf &conf)
|
||||
break;
|
||||
}
|
||||
|
||||
if (m_device->type() == Constants::WINRT_DEVICE_TYPE_LOCAL)
|
||||
QtcProcess::addArgs(&runnerArgs, QStringLiteral("--profile appx"));
|
||||
|
||||
QtcProcess::addArg(&runnerArgs, m_executableFilePath);
|
||||
if (!m_arguments.isEmpty())
|
||||
QtcProcess::addArgs(&runnerArgs, m_arguments);
|
||||
|
Reference in New Issue
Block a user