diff options
author | Maurice Kalinowski <[email protected]> | 2015-01-15 12:14:08 +0100 |
---|---|---|
committer | Maurice Kalinowski <[email protected]> | 2015-01-15 13:31:20 +0100 |
commit | 770621c0fe593722c362a98f44fa8b9813d89694 (patch) | |
tree | 46a79335cc354fe76ebf9afd7d831a9471fe17f5 /src/plugins | |
parent | 4f1e9aa485de7f2646ed100a0404dd321d352d74 (diff) |
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: Oliver Wolff <[email protected]>
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/winrt/winrtpackagedeploymentstep.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/winrt/winrtpackagedeploymentstep.cpp b/src/plugins/winrt/winrtpackagedeploymentstep.cpp index 71f902d66e0..4d072a59a93 100644 --- a/src/plugins/winrt/winrtpackagedeploymentstep.cpp +++ b/src/plugins/winrt/winrtpackagedeploymentstep.cpp @@ -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"))) { |