QDoc: Synthesize module-page CMake metadata for the Qt command family
Module pages render a CMake usage row in the requisites table
when the documenter declared `\cmakepackage`, `\cmakecomponent`,
or any of their Qt-prefixed counterparts. Class pages within a
module have long synthesized a complete `find_package(...)` and
`target_link_libraries(...)` snippet from whichever combination
of fields the documenter provided, but module pages copied the
fields raw. A module declared with the Qt family of commands
therefore rendered a snippet missing the package name, because
`\qtcmakepackage` populates the component half of the pair
rather than the package half. Generic and Qt-flavored command
pairs that documenters expected to behave identically rendered
different output.
Module pages now mirror the class-page synthesis where mirroring
produces unambiguous output, and stay conservative where
mirroring would invent metadata. A module declared with either
command family renders an equivalent CMake snippet, matching the
parity readers see on class pages within the same module.
Fixes: QTBUG-146604
Change-Id: I69e2a4a17b911791bb824cb0ec2f303b36087262
Reviewed-by: Topi Reinio <topi.reinio@qt.io>