diff options
author | Liang Qi <liang.qi@qt.io> | 2018-01-11 18:03:49 +0100 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2018-01-11 18:05:16 +0100 |
commit | fe2c46d86e4287580191fc71357ec776cf1f5dd8 (patch) | |
tree | 2d580b6a291206d0de54404e03a06b5c58b07b22 /src/windeployqt/main.cpp | |
parent | fff948341a61ce592013303ec40e64a1bf27e678 (diff) | |
parent | 58f0987e16ac4580d9e4a6b604dd7603510b0385 (diff) |
Merge remote-tracking branch 'origin/5.10' into dev
Conflicts:
.qmake.conf
Change-Id: Ieef1b05234ee67bef28f2dc9abaa65f10840d21b
Diffstat (limited to 'src/windeployqt/main.cpp')
-rw-r--r-- | src/windeployqt/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/windeployqt/main.cpp b/src/windeployqt/main.cpp index 9b68df94f..1be7338e4 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); } |