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 <alexandru.croitor@qt.io>
This commit is contained in:
Alexey Edelev 2023-12-04 14:17:57 +01:00 committed by Dennis Oberst
parent 9c03a6b0a7
commit 0925534e6c
1 changed files with 18 additions and 0 deletions

View File

@ -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"
}
]
}
}
}