Assistant/QHelpDBReader: Extract helper to return the version from a namespace


Introduce a helper function to return a struct and add a static function
returning QVersionNumber.

Pick-to: 6.12
Change-Id: I036feefcdaa45ae1b6adeef0f3a71a64a255f14a
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
commitfd91732b062c14590cee4b05a27bffb0ca10433d
parent68df3c76ab6ec17f26505b5d265e69615ff31ecb
authorFriedemann Kleint <Friedemann.Kleint@qt.io>
committerFriedemann Kleint <Friedemann.Kleint@qt.io>
commit timeTue, 23 Jun 2026 14:01:19 +0000