aboutsummaryrefslogtreecommitdiffstats
path: root/qbs-resources
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2017-12-01 18:00:53 +0100
committerJake Petroules <jake.petroules@qt.io>2017-12-01 19:56:21 +0000
commit3f7621fea74da37a38514131f9b90b026896c42c (patch)
tree73ec42a905a1c928bdd6e2b094f5650d84611895 /qbs-resources
parent3fcc79261067fd4817c38fa9fc10d872507c6ee9 (diff)
qbs build: Set soversion
It's time. This property was introduced in 1.7. Change-Id: Ief8ef2b05c12922be3f8b6a82d4de3dfb0068066 Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Diffstat (limited to 'qbs-resources')
-rw-r--r--qbs-resources/imports/QbsLibrary.qbs3
1 files changed, 1 insertions, 2 deletions
diff --git a/qbs-resources/imports/QbsLibrary.qbs b/qbs-resources/imports/QbsLibrary.qbs
index b3a2778d0..c33774f37 100644
--- a/qbs-resources/imports/QbsLibrary.qbs
+++ b/qbs-resources/imports/QbsLibrary.qbs
@@ -10,8 +10,7 @@ QbsProduct {
qbs.targetOS.contains("windows") ? "bin" : qbsbuildconfig.libDirName)
cpp.defines: base.concat(visibilityType === "static" ? ["QBS_STATIC_LIB"] : ["QBS_LIBRARY"])
cpp.sonamePrefix: qbs.targetOS.contains("darwin") ? "@rpath" : undefined
- // ### Uncomment the following line in 1.8
- //cpp.soVersion: version.replace(/\.\d+$/, '')
+ cpp.soVersion: version.replace(/\.\d+$/, '')
cpp.visibility: "minimal"
cpp.cxxLanguageVersion: "c++11"
property bool visibilityType: Qt.core.staticBuild ? "static" : "dynamic"