Since QML has a JavaScript engine underneath it, have you tried using JavaScript to get the text of the function and store it in a string variable for C++ to grab?

ie.
http://stackoverflow.com/questions/3379875/can-javascript-get-a-function-as-text

I don't know if this actually works or not but I didn't see it suggested...


There is a way to get the text of an item (if that item is your own type). Might work for you but it's private API. QQmlCustomParser. It's how PropertyChanges can take the names of items and properties and then actually do useful things with them.

--
Link

_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to