summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/windeployqt/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/windeployqt/main.cpp b/src/windeployqt/main.cpp
index f574bd25e..07554e222 100644
--- a/src/windeployqt/main.cpp
+++ b/src/windeployqt/main.cpp
@@ -986,7 +986,8 @@ static bool deployTranslations(const QString &sourcePath, quint64 usedQtModules,
arguments.append(QDir::toNativeSeparators(targetFilePath));
const QFileInfoList &langQmFiles = sourceDir.entryInfoList(translationNameFilters(usedQtModules, prefix));
for (const QFileInfo &langQmFileFi : langQmFiles) {
- if (options.json) {
+ // winrt relies on a proper list of deployed files. We cannot cheat an mention files we do not ship here.
+ if (options.json && !options.isWinRt()) {
options.json->addFile(langQmFileFi.absoluteFilePath(),
absoluteTarget);
}