qscxmlc: stop using qMetaTypeTypeInternal


Just use QMetaType::fromName(). We bypass the id() call because anything
that came the registry is, by definition, registered.

Drive-by static'ify the functions.

Pick-to: 6.10
Change-Id: Ib8363744834da6d79046fffd0adb680219c829e0
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
commitc158671433de5c08f74ec1919c8064e5ee6a0ab0
parent09c9c23a6a81c80add2d9f598c8f9f3e3513ae61
authorThiago Macieira <thiago.macieira@intel.com>
committerThiago Macieira <thiago.macieira@intel.com>
commit timeFri, 20 Jun 2025 07:59:45 -0700