Hi,

I have an QML Gui in which I need to display a varying number of rectangles (at varying locations in the UI) every x seconds (triggered by a signal from C++ code, no fixed intervall). Rectangles should only be visible until the next batch of rectangles is drawn.

I.e. I need to have some way to create a bunch of QML objects at runtime, position them and then destroy them again before the next batch is created.
What is the recommended way to do this?