mirror of https://github.com/qt/qtgrpc.git
Generating the aliases for protobuf QList types leads to the name clashing when users want ot introduce messages that have name consisting of previously defined message name and Repeated suffix, e.g.: message MyMessage { } message MyMessageRepeated { } We shouldn't prohibit the above scheme in our generators and generate the respective messages correctly. The only possible solution - complete removal of the protobuf messages QList aliases. Generator still generates the aliases guarded by the QT_USE_PROTOBUF_LIST_ALIASES macro. The macro is enabled by Qt::Protobuf when building using CMake, but can be disabled at any time by setting QT_USE_PROTOBUF_LIST_ALIASES property on protobuf target to avoid name clashing. [ChangeLog][Protobuf] qtprotobufgen doesn't generate protobuf message QList aliases. All usages of aliases should be replace by respective QList types. Aliases are still generated and are guarded by the QT_USE_PROTOBUF_LIST_ALIASES macro in the generated code. The macro is enabled by default and can be disabled using QT_USE_PROTOBUF_LIST_ALIASES target property. Fixes: QTBUG-129652 Pick-to: 6.8 6.9 Change-Id: I026755b36985eef01a6851156d9c9cfff141d247 Reviewed-by: Dennis Oberst <dennis.oberst@qt.io> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
ChatInputField.qml | ||
ChatView.qml | ||
Main.qml | ||
chatmessagemodel.cpp | ||
chatmessagemodel.h | ||
main.cpp | ||
qt_logo_green_64x64px.png | ||
simplechatengine.cpp | ||
simplechatengine.h |