From fb7760cbd7896aaa00e05ece8f4c1a34c532d887 Mon Sep 17 00:00:00 2001 From: Ivan Komissarov Date: Sun, 26 Jul 2020 23:42:01 +0200 Subject: protobuf: remove deprecated properties Change-Id: I871b7f46ffab880fa2a2762c2339907fe7d01f88 Reviewed-by: Christian Kandeler --- share/qbs/modules/protobuf/protobuf.js | 4 ++-- share/qbs/modules/protobuf/protobufbase.qbs | 7 ------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/share/qbs/modules/protobuf/protobuf.js b/share/qbs/modules/protobuf/protobuf.js index 8ab535abd..6a3950850 100644 --- a/share/qbs/modules/protobuf/protobuf.js +++ b/share/qbs/modules/protobuf/protobuf.js @@ -110,7 +110,7 @@ function doPrepare(module, product, input, outputs, lang) args.push(input.filePath); - var cmd = new Command(module._compilerPath, args); + var cmd = new Command(module.compilerPath, args); cmd.highlight = "codegen"; cmd.description = "generating " + lang + " files for " + input.fileName; return [cmd]; @@ -135,7 +135,7 @@ function doPrepareGrpc(module, product, input, outputs, lang) args.push(input.filePath); - var cmd = new Command(module._compilerPath, args); + var cmd = new Command(module.compilerPath, args); cmd.highlight = "codegen"; cmd.description = "generating " + lang + " files for " + input.fileName; return [cmd]; diff --git a/share/qbs/modules/protobuf/protobufbase.qbs b/share/qbs/modules/protobuf/protobufbase.qbs index cf050e345..aa7f28eb9 100644 --- a/share/qbs/modules/protobuf/protobufbase.qbs +++ b/share/qbs/modules/protobuf/protobufbase.qbs @@ -8,13 +8,6 @@ Module { property string compilerName: "protoc" property string compilerPath: compilerProbe.filePath - property string protocBinary - PropertyOptions { - name: "protocBinary" - description: "The path to the protoc binary. Deprecated, use compilerPath instead." - removalVersion: "1.18" - } - readonly property string _compilerPath: protocBinary ? protocBinary : compilerPath property pathList importPaths: [] property string _outputDir: product.buildDirectory + "/protobuf" -- cgit v1.2.3