API review: Move constexpr variables into lambda body


Remove static from them.

The static was unnecessary and could be counter-productive
by forcing the compiler to allocate storage for the type.

Pick-to: 6.11
Change-Id: I3191ac829adaa4707015123eba944af08c05d467
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
commit027b7ed763ba959dbe1c675069e07bfef5c9c01e
parent2a631b431671791da7065de1660f601ab3d31f04
authorJarek Kobus <jaroslaw.kobus@qt.io>
committerJarek Kobus <jaroslaw.kobus@qt.io>
commit timeWed, 11 Feb 2026 12:47:18 +0100