quickvectorimage: Support asynchronous flag in item generator


We run the visitor and generator on a worker thread, deferring
any calls that require a QML context to a time sliced queue
that is processed once the generator is done. Cancelling is
currently partially supported by returning false in the visitor
(which means we do not traverse into structure nodes) but we
could add additional logic to allow interrupting the parser
itself. This can be an improvement later.

Task-number: QTBUG-147710
Change-Id: Ia594eb53a295e9bec42a8c42e0f7e867c433ac81
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
commit414ac000bd60c49666c5310f4d8a5a627363a26d
parent6470a5017b77a16382d14e574e27968d75142d02
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
commit timeTue, 20 Oct 2026 12:52:50 +0000