Code Monkey home page Code Monkey logo

protobuf-qt's People

Contributors

onto avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

protobuf-qt's Issues

Looking forward to this project.

@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!

Protobuf classes are final

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

add license

Hi!
Could you please add a license?
Thanks!

wrapper for repeated fields and QQmlListProperty

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 !!!

Enum QML Registration

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.

usage chat

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++.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.