-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrapping existing QObjects? #290
Comments
There is the current doc for that: https://github.com/woboq/qmetaobject-rs#what-if-a-wrapper-for-the-qt-c-api-is-missing |
The example in the docs seems to show creating a new QObject from Rust, but I want to use one that already exists from C++. I see the QObjects that come with the library are wrapped with |
The guidance in the README seems to be around creating your own QObjects from Rust. But is there any way to wrap a QObject in Qt's library that isn't currently in qmetaobject? Namely, I'm interested in being able to connect to their signals/slots, and as far as I'm aware
cpp_class!
does not provide this.The text was updated successfully, but these errors were encountered: