diff options
author | Ivan Komissarov <abbapoh@gmail.com> | 2020-07-02 09:42:43 +0200 |
---|---|---|
committer | Ivan Komissarov <ABBAPOH@gmail.com> | 2020-07-03 10:35:51 +0000 |
commit | 7c190909a5758992f6f765f5763125912d9cbd61 (patch) | |
tree | d66d174c215cd05b2c652e05e9ed5760091db46c /examples | |
parent | 07c398642874c830336ac880dc9282d39fe90833 (diff) | |
download | qbs-7c190909a5758992f6f765f5763125912d9cbd61.tar.gz |
protobuf: fix condition in addressbook_cpp example
It is not allowed to compare lists using operator==
Change-Id: I6c3ad9e70a7f2ecd0cfbc7f85ad7ce84a19532d0
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/protobuf/addressbook_cpp/addressbook_cpp.qbs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/protobuf/addressbook_cpp/addressbook_cpp.qbs b/examples/protobuf/addressbook_cpp/addressbook_cpp.qbs index f0fe70ece..5d03d08e2 100644 --- a/examples/protobuf/addressbook_cpp/addressbook_cpp.qbs +++ b/examples/protobuf/addressbook_cpp/addressbook_cpp.qbs @@ -2,7 +2,7 @@ import qbs CppApplication { consoleApplication: true - condition: protobuf.cpp.present && qbs.targetOS == qbs.hostOS + condition: protobuf.cpp.present && qbs.targetPlatform === qbs.hostPlatform Depends { name: "cpp" } cpp.cxxLanguageVersion: "c++11" |