valentina/qbs/imports/VDynamicLib.qbs

53 lines
1.7 KiB
QML
Raw Normal View History

import qbs.Utilities
2023-01-18 14:04:26 +01:00
VLib {
2024-01-19 15:15:28 +01:00
Depends { name: "windeployqt"; condition: qbs.targetOS.contains("windows") }
2023-01-18 14:04:26 +01:00
Depends { name: "i18nconfig"; }
2024-02-16 15:39:07 +01:00
buildconfig.staticBuild: {
if (product.buildconfig.enableUnitTests && product.buildconfig.enableTestCoverage)
return true;
else
return false;
}
2023-01-18 14:04:26 +01:00
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 {
2024-01-19 15:15:28 +01:00
condition: qbs.targetOS.contains("windows") && i18nconfig.limitDeploymentOfQtTranslations
2023-01-18 14:04:26 +01:00
windeployqt.languages: i18nconfig.qtTranslationLocales.join(',')
}
2023-01-27 18:07:24 +01:00
installDebugInformation: qbs.buildVariant !== "release" || buildconfig.useConanPackages && buildconfig.conanCrashReportingEnabled
2023-01-27 18:07:24 +01:00
Properties {
condition: !qbs.targetOS.contains("macos") || (qbs.targetOS.contains("macos") && !buildconfig.enableMultiBundle)
install: true
installDir: buildconfig.installLibraryPath
}
2024-03-12 15:39:44 +01:00
Properties {
condition: buildconfig.useConanPackages && buildconfig.conanCrashReportingEnabled
qbs.debugInformation: true
}
2023-01-18 14:04:26 +01:00
}