Polishing scripts.

This commit is contained in:
Roman Telezhynskyi 2024-01-19 16:15:28 +02:00
parent 6471840acf
commit 23ccdf667d
2 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,7 @@
import qbs.Utilities
VLib {
Depends { name: "windeployqt"; }
Depends { name: "windeployqt"; condition: qbs.targetOS.contains("windows") }
Depends { name: "i18nconfig"; }
buildconfig.staticBuild: false
@ -28,7 +28,7 @@ VLib {
}
Properties {
condition: i18nconfig.limitDeploymentOfQtTranslations
condition: qbs.targetOS.contains("windows") && i18nconfig.limitDeploymentOfQtTranslations
windeployqt.languages: i18nconfig.qtTranslationLocales.join(',')
}

View File

@ -145,7 +145,8 @@ Module {
if (product.windeployqt.compilerRuntime)
cmdArgs.push("--compiler-runtime")
else if (product.windeployqt.noCompilerRuntime)
if (product.windeployqt.noCompilerRuntime)
cmdArgs.push("--no-compiler-runtime")
if (product.windeployqt.noVirtualkeyboard &&