From 413cc7c831e3e10cdfdd27bba5f2312ff36858ce Mon Sep 17 00:00:00 2001 From: Alexey Edelev Date: Tue, 31 Oct 2023 16:58:26 +0100 Subject: [PATCH] Add vcpkg.json for the QtGRPC chat example Use the vcpkg manifest to configure and build QtGRPC chat example. This allows automating the dependency installation using vcpkg. Pick-to: 6.9 Task-number: QTBUG-132738 Change-Id: Iafcb8e144d51f1af0d775869550f003c997d106a Reviewed-by: Alexandru Croitor --- examples/grpc/chat/vcpkg.json | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 examples/grpc/chat/vcpkg.json diff --git a/examples/grpc/chat/vcpkg.json b/examples/grpc/chat/vcpkg.json new file mode 100644 index 00000000..d2c1beec --- /dev/null +++ b/examples/grpc/chat/vcpkg.json @@ -0,0 +1,23 @@ +{ + "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json", + "description": "Simple chat based on the Qt GRPC client API.", + "dependencies": [ + "protobuf", + "grpc" + ], + "features": { + "vcpkg-qt": { + "description": "Use Qt libraries from vcpkg", + "dependencies": [ + { + "name": "qtgrpc", + "version>=": "6.9" + }, + { + "name": "qtdeclarative", + "version>=": "6.9" + } + ] + } + } +}