By using a QQuickPaintedItem derived class instead of the Canvas element

Cheers,
_