windeployqt doesn't support key "--no-virtualkeyboard" since Qt 6.5.

This commit is contained in:
Roman Telezhynskyi 2023-06-24 21:16:22 +03:00
parent 49632e8f11
commit 11d1e4302d
3 changed files with 9 additions and 3 deletions

View File

@ -1,10 +1,15 @@
import qbs.Utilities
VLib {
Depends { name: "windeployqt"; }
Depends { name: "i18nconfig"; }
buildconfig.staticBuild: false
windeployqt.noVirtualkeyboard: true
Properties {
condition: qbs.targetOS.contains("windows") && Utilities.versionCompare(Qt.core.version, "6.5") < 0
windeployqt.noVirtualkeyboard: true
}
Properties {
condition: qbs.targetOS.contains("macos")

View File

@ -1,5 +1,6 @@
import qbs.FileInfo
import qbs.File
import qbs.Utilities
VApp {
Depends { name: "freedesktop2" }
@ -196,7 +197,7 @@ VApp {
}
Properties {
condition: qbs.targetOS.contains("windows")
condition: qbs.targetOS.contains("windows") && Utilities.versionCompare(Qt.core.version, "6.5") < 0
windeployqt.noVirtualkeyboard: true
}

View File

@ -143,7 +143,7 @@ Module {
else if (product.windeployqt.noCompilerRuntime)
cmdArgs.push("--no-compiler-runtime")
if (product.windeployqt.noVirtualkeyboard)
if (product.windeployqt.noVirtualkeyboard && Utilities.versionCompare(Qt.core.version, "6.5") < 0)
cmdArgs.push("--no-virtualkeyboard")
if (product.windeployqt.json)