From 0925534e6c3fc31939b8ae68aff96b62f445dee2 Mon Sep 17 00:00:00 2001 From: Alexey Edelev Date: Mon, 4 Dec 2023 14:17:57 +0100 Subject: [PATCH] Add vcpkg.json for the QtProtobuf sensors example Use the vcpkg manifest to configure and build QtProtobuf sensors example. This allows automating the dependency installation using vcpkg. Pick-to: 6.9 Task-number: QTBUG-132738 Change-Id: Icae7acf46d97d834a064d7663623757a7ec35742 Reviewed-by: Alexandru Croitor --- examples/protobuf/sensors/vcpkg.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 examples/protobuf/sensors/vcpkg.json diff --git a/examples/protobuf/sensors/vcpkg.json b/examples/protobuf/sensors/vcpkg.json new file mode 100644 index 00000000..2e2c6c5b --- /dev/null +++ b/examples/protobuf/sensors/vcpkg.json @@ -0,0 +1,18 @@ +{ + "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json", + "description": "The Sensors example shows how two applications can communicate by sending protobuf messages using UDP sockets", + "dependencies": [ + "protobuf" + ], + "features": { + "vcpkg-qt": { + "description": "Use Qt libraries from vcpkg", + "dependencies": [ + { + "name": "qtgrpc", + "version>=": "6.9" + } + ] + } + } +}