mirror of
https://gitlab.com/smart-pattern/valentina.git
synced 2024-09-12 20:11:11 +02:00
43 lines
1.3 KiB
QML
43 lines
1.3 KiB
QML
import qbs.Utilities
|
|
|
|
VLib {
|
|
Depends { name: "windeployqt"; condition: qbs.targetOS.contains("windows") }
|
|
Depends { name: "i18nconfig"; }
|
|
|
|
buildconfig.staticBuild: 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"
|
|
|
|
Properties {
|
|
condition: !qbs.targetOS.contains("macos") || (qbs.targetOS.contains("macos") && !buildconfig.enableMultiBundle)
|
|
install: true
|
|
installDir: buildconfig.installLibraryPath
|
|
}
|
|
}
|