onto / protobuf-qt Goto Github PK
View Code? Open in Web Editor NEWGenerate Qt/QML flavored sources from Protocol Buffers .proto files
License: MIT License
Generate Qt/QML flavored sources from Protocol Buffers .proto files
License: MIT License
Hi!
Could you please add a license?
Thanks!
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
hello, first thanks for the nice library i was looking for it.
have a question the wrapper for the repeated fields is working?
i have a .proto with message repeated field but the wrapped to it is not generated
message Permision {
}
message User {
int id = 0;
repeated Permision permissions = 1;
}
but the generated wrapper don't have the QQmlListProperty, is not yet implemented or i doing some wrong?
thanks !!!
Hello and thank you for this project,
I am using this project against Qt 5.12.
When calling qmlRegisterType<MyEnumWrapper>("my.namesapce", 1, 0, "MyEnum");
QQmlPrivate::QQmlElement<T>
(with T=MyEnumWrapper
) complains that its destructor does not override
. This is because MyEnumWrapper
is not a QObject.
My current solution is to make MyEnumWrapper
inherits from QObject
, however I'm wondering if there is another way to register the enum to Qml that would avoid the issue altogether.
Interesting project.. :-)
unfortunately protobuf does not support all Qt platforms, and I wanted to use it for android. I mean via Qt/Android/C++ , not android/java/jni->c++.
I know this isn't notepad, was it abandoned? There is a scroll issue when typing.
@onto Hi, I'm also trying to convert standard protobuf c++ types to QT types. Are you still working on this project? When do you plan to commit a runnable version? Thanks for your great work!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.