Take a look at QDeclarativeContext::contextProperty() and also read about making your C++ objects available for QML. What you want is using the same mechanism in the other direction.
Take a look at QDeclarativeContext::contextProperty() and also read about making your C++ objects available for QML. What you want is using the same mechanism in the other direction.
Bookmarks