summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Wolff <oliver.wolff@digia.com>2014-03-28 15:11:03 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-31 17:46:19 +0200
commit51904a6637350ca37dbb9195916944122f2266ac (patch)
treeed430cab0588f83ec4e2468495ad68a892629e88
parent26ae5521f8230792000af8e3eea52b16c1e58fe8 (diff)
downloadqttools-51904a6637350ca37dbb9195916944122f2266ac.tar.gz
winrtrunner: Accept backslashes as well when looking for manifest file
The mapping file might contain paths having slashes as well as backslashes as separators. When looking for the manifest file in this list the kind of separators used should not matter. Change-Id: I80e36f3bc4d3f80c34291bfa845b345f5638f88d Reviewed-by: Andrew Knight <andrew.knight@digia.com>
-rw-r--r--src/winrtrunner/xapengine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/winrtrunner/xapengine.cpp b/src/winrtrunner/xapengine.cpp
index 21466c9f8..dfd4e9d37 100644
--- a/src/winrtrunner/xapengine.cpp
+++ b/src/winrtrunner/xapengine.cpp
@@ -425,7 +425,7 @@ bool XapEngine::install(bool removeFirst)
if (!file.open(QFile::ReadOnly))
continue;
- if (i.key() == d->manifest) {
+ if (QFileInfo(i.key()) == QFileInfo(d->manifest)) {
const QStringList args = d->runner->arguments() << QStringLiteral("-qdevel");
QByteArray manifestWithArgs = file.readAll();
manifestWithArgs.replace(QByteArrayLiteral("ImageParams=\"\""),