lottietoqml: Sanitize source strings used in output


Lottie element names are copied to the objectName property of the
corresponding generated QML item. Sanitize the copy to ensure
uncorrupted and readable QML output.

Pick-to: 6.10
Change-Id: I0c115345c01bcafb3026053cd56d6fddfea7b17d
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
commitfe8609621648fa636d37c23c5580682a9c0951ce
parentf2947cfa0b6b06d5d3465af76f1b735e61459373
authorEirik Aavitsland <eirik.aavitsland@qt.io>
committerEirik Aavitsland <eirik.aavitsland@qt.io>
commit timeFri, 5 Dec 2025 14:40:07 +0100