Quote Originally Posted by mfojtak View Post
How can I achieve it?
I don't think you can do it directly. In theory you could expose a C++ function to QML where you'd do the connection on C++ side but it wouldn't be as simple to use as "onSignal: codeToExecute".

Why do you need that?