QGraphicsItem Performance with QML -
i have qml file shows simple display. want update text inside qml file every x seconds. works fine. i'm using qgraphicobjects add qgraphicsscene.
now heard, qgraphicsobjects slower qgraphicsitems.
so want know, if possible, use qml files qgraphicsitem? or there other possibillities use qml object performance of qgraphicsitem?
the alternative create displays qgraphicsitem, prefere doing in qml.
best regards
qml items need qt meta-object system, it's not possible use qgraphicsitem (which not qobject).
more slower ? real gain qgraphicsitem ? test before trying lose flexibility of qml.
if have performance problems, best solution might move qt quick 2? (qt 5.2 if possible, read: http://blog.qt.digia.com/blog/2013/09/02/new-scene-graph-renderer/)
Comments
Post a Comment