Commit Graph

4 Commits

Author SHA1 Message Date
Alexey Edelev 5470136c6b Adjust the server time format with the client one in ClientGuide
Server and client request/responce time format differs, since
std::chrono::time_point::time_since_epoch() output contains
undeterminated units. Make the explicit conversion to milliseconds,
to align the time format between server and client.

Pick-to: 6.8 6.9
Change-Id: I5914221d3b3b8043721f4d97705ccb54c679be9c
Reviewed-by: Dennis Oberst <dennis.oberst@qt.io>
2025-02-25 11:08:51 +01:00
Alexey Edelev 0dba8755c8 Add the missing lookup for Qt6::ProtobufTools to client guide server
Sever uses WrapProtoc target to generate the reference protobuf and
grpc code.

Add the missing package lookup.

Amends dedd3edd3f

Pick-to: 6.8 6.9
Task-number: QTBUG-125406
Change-Id: I3cc93443170dcddfada3ddff266b958e86a2d460
Reviewed-by: Dennis Oberst <dennis.oberst@qt.io>
2025-01-17 14:25:40 +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