qtattributionsscanner: Support $<VERSION>, $<VERSION_DASHED> placeholders


The SBOM logic in qtbase added support for $<VERSION> and
$<VERSION_DASHED> placeholders for the PURL and CPE fields.
So far qtattributionsscanner was ignoring this, since it didn't
process PURL and CPE further.

But it's handy to use the placeholders also in other places, like the
DownloadLocation field. This avoids having to update qt_attribution.json
files in multiple places for a simple version upgrade.

Therefore extend qtattributionsscanner to replace $<VERSION> and
$<VERSION_DASHED> strings in most text fields. Error out if the
placeholder is present, but no version is given.

Pick-to: 6.8 6.10 6.11
Change-Id: I3adb9467f9475ab919bb9e9c7406930dba20cd6e
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
commitfb952f9ac978735a9484362d371c38d045f4686a
parent19729699db50398bf6cc5549b434cf88b0b44b05
authorKai Köhne <kai.koehne@qt.io>
committerKai Köhne <kai.koehne@qt.io>
commit timeFri, 13 Feb 2026 16:13:42 +0100