Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I have objects with dynamically generated set of functions. For each object, I can retrieve, at runtime, its sets of functions. This object is inheriting from QObject and is meant to be exposed to the JS Engine. Now, I would like to dynamically add functions to this "javascript QObject". Is this possible? If yes, how?

NOTES:

  1. I cannot use Q_INVOKABLE in C++ because as far as I know, it is all resolved at compile time.
share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.