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

View File

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