import qbs.Utilities VLib { Depends { name: "windeployqt"; condition: qbs.targetOS.contains("windows") } Depends { name: "i18nconfig"; } buildconfig.staticBuild: { if (product.buildconfig.enableUnitTests && product.buildconfig.enableTestCoverage) return true; else return false; } Properties { condition: qbs.targetOS.contains("windows") && Utilities.versionCompare(Qt.core.version, "6.5") < 0 windeployqt.noVirtualkeyboard: true } Properties { condition: qbs.targetOS.contains("macos") bundle.identifierPrefix: 'ua.com.smart-pattern' codesign.enableCodeSigning: buildconfig.enableCodeSigning } Properties { condition: qbs.targetOS.contains("macos") && qbs.buildVariant !== "release" codesign.signingType: "ad-hoc" } Properties { condition: qbs.targetOS.contains("macos") && qbs.buildVariant === "release" codesign.signingType: "apple-id" } Properties { condition: qbs.targetOS.contains("windows") && i18nconfig.limitDeploymentOfQtTranslations windeployqt.languages: i18nconfig.qtTranslationLocales.join(',') } installDebugInformation: qbs.buildVariant !== "release" || (buildconfig.useConanPackages && buildconfig.conanCrashReportingEnabled) Properties { condition: !qbs.targetOS.contains("macos") || (qbs.targetOS.contains("macos") && !buildconfig.enableMultiBundle) install: true installDir: buildconfig.installLibraryPath } cpp.debugInformation: qbs.buildVariant !== "release" || (buildconfig.useConanPackages && buildconfig.conanCrashReportingEnabled) }