Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.8
-
None
-
4b778a70d (dev), b614b9dc2 (dev), 7203da26f (6.9), 9533a5778 (6.9), 0a642f498 (6.8)
Description
The following code won't compile because of name clashing:
message MyMessage { int32 a = 1; } message MyMessageRepeated { repeated MyMessage b = 1; }
MyMessage generates the QList alias that is handy in certain usecases and blocks the usage of Repeated suffix in MyMessageRepeated.
We should avoid generating aliases.
Attachments
For Gerrit Dashboard: QTBUG-129652 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
595804,1 | Add Qt Protobuf properties to the cmake properties index | dev | qt/qtdoc | Status: NEW | 0 | 0 |
595538,5 | Avoid generating QList aliases for the protobuf messages | 6.8.0 | qt/qtgrpc | Status: ABANDONED | 0 | 0 |
595712,12 | Avoid generating QList aliases for the protobuf messages | dev | qt/qtgrpc | Status: MERGED | +2 | +1 |
595801,10 | Document the QT_USE_PROTOBUF_LIST_ALIASES cmake property | dev | qt/qtgrpc | Status: MERGED | +2 | 0 |
611829,2 | Avoid generating QList aliases for the protobuf messages | 6.9 | qt/qtgrpc | Status: MERGED | +2 | 0 |
611830,2 | Document the QT_USE_PROTOBUF_LIST_ALIASES cmake property | 6.9 | qt/qtgrpc | Status: MERGED | +2 | 0 |
612040,3 | Avoid generating QList aliases for the protobuf messages | 6.8 | qt/qtgrpc | Status: MERGED | +2 | 0 |