Use const reference for iteration


We don't want the invoked services to be copied.

Pick-to: 6.11 6.8
Task-number: QTBUG-146063
Axivion-Id: qt_Add-ons_qtscxml_dev_linux:SV52
Change-Id: I24f5a6b916341a0f812ba5113d590e05d1704ee7
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
commit3d4830694c3b192df9cf58d44aa04934b1721f17
parenta056d2f4707d8beceb65636a3b88592dec284f6d
authorUlf Hermann <ulf.hermann@qt.io>
committerUlf Hermann <ulf.hermann@qt.io>
commit timeTue, 28 Apr 2026 11:39:58 +0000