[Qt-qml] How to trigger a QML redraw from C++
Tarantism
tarantism at ntlworld.com
Wed May 25 00:08:37 CEST 2011
I'm writing a hybrid c++/qml application. I'm creating new items by
creating QDeclarativeItem derivatives (over-riding their paint() method)
and using their setParent method to put them in the 'scene'.
They appear properly on creation but I need to update their rendering
regularly based on c++ events.
How do I tell the QML engine to redraw these items? I've tried calling
update() on the items and their parents with no effect.
More information about the Qt-qml
mailing list