Add vcpkg.json for the QtGRPC Magic 8 Ball example

Use the vcpkg manifest to configure and build QtGRPC Magic 8 Ball
example. This allows automating the dependency installation using
vcpkg.

Pick-to: 6.9
Task-number: QTBUG-132738
Change-Id: Idaf8ee948a0a304633e1fe9f63327391adec96d8
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Alexey Edelev 2023-12-04 14:22:22 +01:00 committed by Dennis Oberst
parent 39f2692655
commit 9c03a6b0a7
1 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,23 @@
{
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
"description": "Magic 8 Ball application that receives answers from gRPC server using 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"
}
]
}
}
}