Defining C++ methods and Q_INVOKABLES from Rust #279
Unanswered
ahayzen-kdab
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Current situation
We currently have only one option for declaring C++ context methods available on the C++ object, that is to use the
qinvokable
macro attribute. However this then means that all methods exposed on the C++ object are marked asQ_INVOKABLE
Possible solutions
Instead we should have the ability to expose a C++ context method on the C++ object but not as a
Q_INVOKABLE
. Note that we still need to be able to mark the C++ specifiers on these methods.Some possible options:
Or
Or
Beta Was this translation helpful? Give feedback.
All reactions