Qt+WiX: Skip translations.

We handle translations in QtTranslation.wxs so we need to skip them when
generating QtDependentComponents.wxs.

Change-Id: I05586c7f8fbbaf72fc30564a157ba1175154d1d3
Reviewed-on: https://code.wireshark.org/review/25459
Reviewed-by: Gerald Combs <gerald@wireshark.org>
This commit is contained in:
Gerald Combs 2018-01-24 14:10:39 -08:00
parent ae5e83a25c
commit 369f8195e8
1 changed files with 1 additions and 6 deletions

View File

@ -72,6 +72,7 @@ try {
$wdqtList = windeployqt `
--release `
--no-compiler-runtime `
--no-translations `
--list relative `
$Executable
@ -95,12 +96,6 @@ try {
<ComponentGroup Id=`"CG.QtDependencies`">
"
foreach ($entry in $wdqtList) {
$entryPath = Join-Path -Path $dllPath -ChildPath $entry
if ($entry.EndsWith(".qm") -and -not (Test-Path $entryPath -PathType Leaf)) {
# Windeployqt --list can print translation files that
# don't exist (QTBUG-65974).
continue
}
$dir = Split-Path -Parent $entry
if ($dir) {
if ($dir -ne $currentDir) {