aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Komissarov <abbapoh@gmail.com>2020-12-13 19:14:59 +0100
committerIvan Komissarov <ABBAPOH@gmail.com>2020-12-14 09:56:23 +0000
commit57468f13ea691263a2591a5c180ee8c28ab9d13f (patch)
tree0e3e46279043fd8aae995d5655923bfa9a3e7315
parent93a93735925f3dda80ee3fc78a85b9fcc729e975 (diff)
protobuf: explicitly disable auto refcount for generated files
...for objective-C. Otherwise, enabling this property on a product level breaks compilation of these files. Change-Id: Iddf1c12f580a22b751607a20bd10a79963f775f8 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
-rw-r--r--share/qbs/modules/protobuf/protobuf.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/share/qbs/modules/protobuf/protobuf.js b/share/qbs/modules/protobuf/protobuf.js
index 999da6988..abc2c2c4d 100644
--- a/share/qbs/modules/protobuf/protobuf.js
+++ b/share/qbs/modules/protobuf/protobuf.js
@@ -86,6 +86,7 @@ function objcArtifact(outputDir, input, tags, suffix) {
filePath: FileInfo.joinPaths(
outputDir, toCamelCase(FileInfo.baseName(input.fileName)) + suffix),
cpp: {
+ automaticReferenceCounting: false,
includePaths: [].concat(input.cpp.includePaths, outputDir),
warningLevel: "none",
}