QSvgAbstractAnimatedProperty: make createAnimatedProperty() re-entrant


Move the QHash as a const "magic static" into name2type(). This is
still lazily evaluated, but thread-safe now, making
createAnimatedProperty() re-entrant again.

As a drive-by, fix the double-lookup (contains()/value()) by using
find().

Amends 36a315d9cf3cafb62332dd00c3d17d0f2a096d90 (6.9).

Fixes: QTBUG-146132
Pick-to: 6.11
Change-Id: Id70ce68ebf7da7f611532843d26bd45850cc3dcd
Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>
commit63412081cb748be0f76194a41df680c715a08843
parent35574c3871bbf1fde7ec24b3d0fc274e2b934837
authorMarc Mutz <marc.mutz@qt.io>
committerMarc Mutz <marc.mutz@qt.io>
commit timeWed, 29 Apr 2026 10:10:34 +0000