I would recommend using QQuickPaintedItem. It'll probably take you less
time to port your code. I've found QML canvas a bit hard to debug since
it's all in javascript. It's really easy to miss spell an object's variable
name and rendering won't work. I've also found it to be more buggy than a
QQuic
I have a 2D bullet graph done in QWidgets, but I would like to use it in QML.
I am wondering if it is better to do the component as a QQuickPaintedItem or to
just do it in the QML canvas API. Are there any key differences in performance
between the two?