[Interest] Triggering update on custom QQuickItem

Nuno Santos nuno.santos at imaginando.pt
Wed Sep 25 13:09:12 CEST 2024


Hi,

For a very long time I’ve always used a Timer inside the custom implementation of a QQuickItem to trigger update and refresh what I was using.

Recently I’ve started to replace this for a connection with QQuickWindow (accessible from QQuickItem) beforeRendering signal to trigger this animations.

With the latest versions of Qt 6.7.2 I’ve started to see a new element called FrameAnimation to trigger these updates.

I would prefer to keep the update logic inside the custom QQuickItem implementation.

What is the recommendation for such cases?

Can someone please advise?

Thanks!

Regards,

Nuno




More information about the Interest mailing list