Commit 770621c0 authored by Maurice Kalinowski's avatar Maurice Kalinowski
Browse files

WinRT: Clean up target path for mapping file

The target inside the mapping file must not start with a slash. However
one must specify a path value in the deployment rules, otherwise it will
be ignored internally.

Task-number: QTCREATORBUG-13835
Change-Id: Ic44cd6bc8c5fd7d48a3a980de566b492180c77fd
Reviewed-by: default avatarOliver Wolff <>
parent 4f1e9aa4
......@@ -151,6 +151,8 @@ bool WinRtPackageDeploymentStep::processSucceeded(int exitCode, QProcess::ExitSt
QList<QPair<QString, QString> > installableFilesList;
foreach (DeployableFile file, target()->deploymentData().allFiles()) {
QString remoteFilePath = file.remoteFilePath();
while (remoteFilePath.startsWith(QLatin1Char('/')))
remoteFilePath.remove(0, 1);
QString localFilePath = file.localFilePath().toString();
if (localFilePath == m_targetFilePath) {
if (!m_targetFilePath.endsWith(QLatin1String(".exe"))) {
Supports Markdown
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