Skip to content

Instantiating a cxx-qt QObject type on the Rust side #1008

Answered by SanderVocke
SanderVocke asked this question in Q&A
Discussion options

You must be logged in to vote

Ok, so initially I didn't find any answer but on a closer search I stumbled on:

#694

This suggests there is no solution at the moment except manual solutions such as custom c++ factory functions exposed to rust, but it is a topic being worked on.

Edit: see workaround in the replies to this answer.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@LeonMatthesKDAB
Comment options

@SanderVocke
Comment options

Answer selected by SanderVocke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants