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>