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:
parent
ae5e83a25c
commit
369f8195e8
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue