Correct usage of QImage #871
Replies: 2 comments 3 replies
-
Looks like we are missing |
Beta Was this translation helpful? Give feedback.
-
@otiv-wannes-vanleemput The way you're using You can tackle this issue using a See our training material here: Specifically the last chapter: |
Beta Was this translation helpful? Give feedback.
-
I want to visualise a Gstreamer pipeline which runs in a Rust backed. To start off, I would like to update a QImage with the current frame outputted by the pipeline. However, I'm unable to wrap a QImage in a custom rust struct.
This is my cxxqt_object.rs file:
I tried deriving the Default trait, but this resulted in a build error. Thats why I used the constructor.
However, I still get the following build error:
Should I fork the repository and add the PartialEq trait to QImage, or am I using it incorrectly?
Beta Was this translation helpful? Give feedback.
All reactions