aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2017-03-31 10:32:43 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2017-03-31 13:56:29 +0000
commit7a412abb420e9fdfbe81ad35f1ee406a20736705 (patch)
treefa06fde4b692b57078645f9fd973f42b9d2ec9bf
parent24000d556fefdb3dcd4103d3d1679429434e6f58 (diff)
Make cpp.internalVersion writable
People are settings this property to prevent producing libraries with version numbers in their name while still setting product.version. Change-Id: I0a0e9643a0177541dc4492a9034421d2e6b8174c Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
-rw-r--r--share/qbs/modules/cpp/GenericGCC.qbs2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/qbs/modules/cpp/GenericGCC.qbs b/share/qbs/modules/cpp/GenericGCC.qbs
index f9b949009..b99ca24c7 100644
--- a/share/qbs/modules/cpp/GenericGCC.qbs
+++ b/share/qbs/modules/cpp/GenericGCC.qbs
@@ -179,7 +179,7 @@ CppModule {
return createSymlinks && internalVersion && ["macho", "elf"].contains(cpp.imageFormat);
}
- readonly property string internalVersion: {
+ property string internalVersion: {
if (product.version === undefined)
return undefined;