10-04-2012 05:54 AM
From Qt, it was easy to custom a QML element by reimplement the paintEvent() and use a QPainter.
Is there a way from Cascade to custom a QML element ? For example, create PieChart Element as the document show above :
http://qt-project.org/doc/qt-4.8/declarative-tutor
Solved! Go to Solution.
10-04-2012 07:23 AM
Cascades does all its rendering in a seperate thread and does not expose any API for custom rendering/painting.
There are two workarounds for this: