Polishing scripts.
This commit is contained in:
parent
6471840acf
commit
23ccdf667d
|
@ -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(',')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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 &&
|
||||||
|
|
Loading…
Reference in New Issue
Block a user