Commit ae09de43 authored by Maurice Kalinowski's avatar Maurice Kalinowski
Browse files

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: default avatarAndrew Knight <andrew.knight@intopalo.com>
Reviewed-by: default avatarOliver Wolff <oliver.wolff@theqtcompany.com>
parent 67b208a4
......@@ -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);
......
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