valentina/qbs/imports/VDynamicLib.qbs

32 lines
884 B
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-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
}