Commit Graph

3 Commits

Author SHA1 Message Date
Alexey Edelev c3ee8ef3a6 Avoid using the relative path to the server executable in client guide
It's not necessary that the server executable is located and named
always the same. We may try to hijack this using various CMake
OUTPUT tricks, but it's easier to utilize the actual file path in
the client executable using definition.

Amends dedd3edd3f

Pick-to: 6.8 6.9
Task-number: QTBUG-125406
Change-Id: Ice60e22caa6c5c14024f57fe133f2268ad96f574
Reviewed-by: Dennis Oberst <dennis.oberst@qt.io>
2025-01-29 17:30:43 +01:00
Alexey Edelev 00e8a0e5a1 Add the missing cmake_minimum_required to client guide
The call is mandatory for all CMakeLists.txt.

Amends dedd3edd3f

Pick-to: 6.8 6.9
Task-number: QTBUG-125406
Change-Id: Ib39843424c9215d809fe4380c1c80b8c87ac7e05
Reviewed-by: Dennis Oberst <dennis.oberst@qt.io>
2025-01-17 14:25:35 +01:00
Dennis Oberst dedd3edd3f Add the clientguide example
It contains in depth documentation to get started with Qt GRPC
and replaces the 'Client Methods of the Qt GRPC Service' guide.

This will enable users to also run the code, experiment with it and
show us the error directly in case they fail to compile.

Task-number: QTBUG-125406
Fixes: QTBUG-129588
Pick-to: 6.9 6.8
Change-Id: I8f16156a13da1683bce0e31001ee6b2ff57b1824
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
2024-12-17 15:12:50 +01:00