diff options
-rw-r--r-- | examples/protobuf/addressbook_cpp/addressbook_cpp.qbs | 4 | ||||
-rw-r--r-- | examples/protobuf/addressbook_objc/addressbook_objc.qbs | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/protobuf/addressbook_cpp/addressbook_cpp.qbs b/examples/protobuf/addressbook_cpp/addressbook_cpp.qbs index 09e0d3a08..f0fe70ece 100644 --- a/examples/protobuf/addressbook_cpp/addressbook_cpp.qbs +++ b/examples/protobuf/addressbook_cpp/addressbook_cpp.qbs @@ -2,14 +2,14 @@ import qbs CppApplication { consoleApplication: true - condition: protobuf.present && qbs.targetOS == qbs.hostOS + condition: protobuf.cpp.present && qbs.targetOS == qbs.hostOS Depends { name: "cpp" } cpp.cxxLanguageVersion: "c++11" cpp.minimumMacosVersion: "10.8" cpp.warningLevel: "none" - Depends { id: protobuf; name: "protobuf.cpp"; required: false } + Depends { name: "protobuf.cpp"; required: false } files: [ "../shared/addressbook.proto", diff --git a/examples/protobuf/addressbook_objc/addressbook_objc.qbs b/examples/protobuf/addressbook_objc/addressbook_objc.qbs index a4343e060..35409c4db 100644 --- a/examples/protobuf/addressbook_objc/addressbook_objc.qbs +++ b/examples/protobuf/addressbook_objc/addressbook_objc.qbs @@ -2,10 +2,10 @@ import qbs CppApplication { consoleApplication: true - condition: protobuf.present && qbs.targetOS.contains("macos") + condition: protobuf.objc.present && qbs.targetOS.contains("macos") Depends { name: "cpp" } - Depends { id: protobuf; name: "protobuf.objc"; required: false } + Depends { name: "protobuf.objc"; required: false } files: [ "../shared/addressbook.proto", |