valentina/qbs/imports/VDynamicLib.qbs

43 lines
1.2 KiB
QML
Raw Normal View History

import qbs.Utilities
2023-01-18 14:04:26 +01:00
VLib {
Depends { name: "windeployqt"; }
Depends { name: "i18nconfig"; }
buildconfig.staticBuild: false
Properties {
condition: qbs.targetOS.contains("windows") && Utilities.versionCompare(Qt.core.version, "6.5") < 0
windeployqt.noVirtualkeyboard: true
}
2023-01-18 14:04:26 +01:00
2023-01-28 15:57:32 +01:00
Properties {
condition: qbs.targetOS.contains("macos")
bundle.identifierPrefix: 'ua.com.smart-pattern'
2023-08-18 13:01:03 +02:00
codesign.enableCodeSigning: buildconfig.enableCodeSigning
2023-09-12 16:50:15 +02:00
}
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"
2023-01-28 15:57:32 +01:00
}
2023-01-18 14:04:26 +01:00
Properties {
condition: i18nconfig.limitDeploymentOfQtTranslations
windeployqt.languages: i18nconfig.qtTranslationLocales.join(',')
}
2023-01-27 18:07:24 +01:00
installDebugInformation: qbs.buildVariant !== "release"
Properties {
condition: !qbs.targetOS.contains("macos") || (qbs.targetOS.contains("macos") && !buildconfig.enableMultiBundle)
install: true
installDir: buildconfig.installLibraryPath
}
2023-01-18 14:04:26 +01:00
}