Assistant: Remove stale documentation registrations at startup


A qch file holds exactly one namespace. If a file was regenerated for
another version (e.g. after a version bump) and was not registered
again, the collection still holds the old namespace for it. Compare
the registered namespaces with the ones stored in the files at startup
and unregister the stale ones. Files that can't be read are left
registered.

Pick-to: 6.12
Change-Id: Id1fdbe8c65f2351f0a425a2cf730f8fddc6056c2
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
commit3496da5f911438e218ba313ac18a18ae80ca322f
parent7aad3add6ad892333529f1c1896e5cf30032a480
authorJarek Kobus <jaroslaw.kobus@qt.io>
committerJarek Kobus <jaroslaw.kobus@qt.io>
commit timeWed, 14 Oct 2026 10:58:58 +0000