lupdate: Restore fallback empty context when namespace resolution fails


The class/namespace resolution approach introduced in d75e8e2d532 accidentally
removed the fallback behavior that set "resolved" to an empty HashString
when namespace resolution completely fails. This caused tr calls to
end up with empty contexts in the generated TS files when lupdate
couldn't resolve the class through include chains.

Restore the previous behavior of providing an empty namespace fallback
and setting the unresolved segments.

Pick-to: 6.11 6.10 6.10.2
Change-Id: Ib20c15acbd3722551933e676f8021f094911826f
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
commite12f993e94e20e26d5935801b25c1cad186e426e
parent6c0e662b3ae92dff9103cbed3489865b91b605bc
authorMasoud Jami <masoud.jami@qt.io>
committerMasoud Jami <masoud.jami@qt.io>
commit timeThu, 12 Feb 2026 14:40:33 +0100