Add more generic approach for letting resources get a second update


In certain cases we have resources that depends on other resources and
since, depending initialization order, a resource being depended on
may not have been realized yet, the first resource might end-up in a
non-working state. To avoid this we have, for classes that needed it,
a second update phase, after all resources have been realized. Adding
resources to this second update phase has been quite a manual process,
but with this change this is now formalized so it's reusable for other
classes that needs it too.

Pick-to: 6.11
Change-Id: I0b516ab4e2c0a1c89f5930d169fad5d2847ab45c
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
commit6395812503870b8877d545c5ef05c95d61dc0d10
parent37e0d9d7519659dbeb2c2c1d555e067b7547f237
authorChristian Strømme <christian.stromme@qt.io>
committerChristian Strømme <christian.stromme@qt.io>
commit timeFri, 9 Jan 2026 13:14:04 +0100