Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.8.2, 6.9.0 RC
-
None
-
514769d1b (dev), 01b1e9df8 (6.9), 3e3d6a49a (6.8)
Description
The build fails because various protobuf API functions now return string_view instead of string, triggering errors like
error: could not convert ‘containingType->google::protobuf::Descriptor::name()’ from ‘google::protobuf::internal::DescriptorStringView’ {aka ‘std::basic_string_view<char>’} to ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’}
Attachments
Issue Links
- is duplicated by
-
QTBUG-134933 Fails to build with protobuf 30.1, grpc 1.71.0
-
- Closed
-
For Gerrit Dashboard: QTBUG-134885 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
632592,8 | Adapt the generator code to be compatible with protobuf >= 30 | dev | qt/qtgrpc | Status: MERGED | +2 | +1 |
632947,2 | Adapt the generator code to be compatible with protobuf >= 30 | 6.9 | qt/qtgrpc | Status: MERGED | +2 | 0 |
632953,2 | Adapt the generator code to be compatible with protobuf >= 30 | 6.8 | qt/qtgrpc | Status: MERGED | +2 | 0 |