aboutsummaryrefslogtreecommitdiffstats
path: root/src/packages
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2018-04-03 15:16:25 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2018-04-03 14:27:21 +0000
commit6528ffb12ec261c34488842aac134160625f42c9 (patch)
treeacba27201b8262bbbba69f4b7a0312b036b89ac7 /src/packages
parentc26a459c64ed5c4439183c4ca55ddee75968f644 (diff)
archive product: Work around windeployqt bug
The windeployqt output lists translation files that are not actually copied. Change-Id: Ic23fbacfdd7cf8f2931da55e0ec33c31e934aa7e Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/packages')
-rw-r--r--src/packages/archive/archive.qbs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/packages/archive/archive.qbs b/src/packages/archive/archive.qbs
index 007b6af92..39d762884 100644
--- a/src/packages/archive/archive.qbs
+++ b/src/packages/archive/archive.qbs
@@ -164,6 +164,11 @@ QbsProduct {
}
}
+ // QTBUG-65916
+ var fileName = FileInfo.fileName(inputFilePaths[i]);
+ if (fileName.endsWith(".qm") && !fileName.startsWith("qt_"))
+ ignore = true;
+
if (!ignore)
tf.writeLine(relativePath);
}