onto / protobuf-qt

Generate Qt/QML flavored sources from Protocol Buffers .proto files
MIT License
30 stars 10 forks source link

Protobuf classes are final #6

Open Brainstorm67 opened 3 years ago

Brainstorm67 commented 3 years ago

Hello and thanks for the great work. I tried to integrate this into my project and encountered some problems though. It seems that protobuf generated cpp classes are marked as final nowadays so the QObject wrapper that tries to inherit from them triggers a compile time eroor. for example my class is generated as class HighLevel PROTOBUF_FINAL.

Are you still working on this project ? Can you provide an update to fix this ? your solution seems easier and lighter than other ones out there..

Thanks