Fix namespaced builds


When using namespaced Qt, we need to prevent symbol clashes with symbols
of the same name.

Task-number: QTBUG-138543
Pick-to: 6.10
Change-Id: I4436638607314d99a7031c138966e69cbded4246
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
commit891529d264d1adea904045ea9470d35109fec7d9
parent244a7d8702cb9baf1607970e85bfa7f4ab7956b8
authorTim Blechmann <tim.blechmann@qt.io>
committerTim Blechmann <tim.blechmann@qt.io>
commit timeFri, 18 Jul 2025 12:18:55 +0000