[Interest] [Quick Controls 2] Best way to add binding arrow tip to Popup?

Shawn Rutledge Shawn.Rutledge at qt.io
Wed Oct 12 17:46:10 CEST 2016

> It probably wasn't mentioned because it's got a bad reputation as being slow. It's easy to abuse it and end up with crappy performance. As long as you limit the amount of painting you do and how often you do it, I don't think using it is really an issue in practice.
> like Canvas is not the really good solution - just a workaround. That is, it not claims to be "support for arbitrary shapes in QtQuick".

Yes Canvas uses QPainter to render a texture on the CPU, which is then uploaded to the GPU.  Besides the drawing commands being in Javascript.

It’s not that bad in practice, just not as efficient as it could be.  You might not be able to redraw it at 60FPS.

More information about the Interest mailing list