Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.9
-
None
Description
E.g.:
message ChatMessage { string username = 1; int64 timestamp = 2; oneof content { TextMessage text = 3; FileMessage file = 4; UserStatus user_status = 5; } }
QPB_QTCHAT_CLIENT_PROTO_EXPORT bool hasText() const; QPB_QTCHAT_CLIENT_PROTO_EXPORT TextMessage &text() const; QPB_QTCHAT_CLIENT_PROTO_EXPORT bool hasFile() const; QPB_QTCHAT_CLIENT_PROTO_EXPORT FileMessage &file() const;
Attachments
Issue Links
- depends on
-
QTBUG-119912 moc: Generated code calls the overloaded non-const getter for when accessing the property
-
- In Progress
-