From 57468f13ea691263a2591a5c180ee8c28ab9d13f Mon Sep 17 00:00:00 2001 From: Ivan Komissarov Date: Sun, 13 Dec 2020 19:14:59 +0100 Subject: 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 --- share/qbs/modules/protobuf/protobuf.js | 1 + 1 file changed, 1 insertion(+) 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", } -- cgit v1.2.1