QDoc: Introduce CollectionInfo IR value type for collection pages


Collection pages display module identity, build system integration
details, and categorized member listings. Readers use this information
to configure CMake or qmake and discover the types a module provides.
This metadata needs a frozen, template-friendly representation.

CollectionInfo captures module metadata, type flags (C++ module, QML
module, or group), and pre-sorted member arrays. The Builder converts
CollectionData (from the extraction layer) into CollectionInfo without
any Node header dependencies. Eight Catch2 scenarios verify JSON
serialization for full C++ modules, groups, QML modules, noAutoList
suppression, individual member entries, empty state handling, and the
Document-level hasCollection flag.

Task-number: QTBUG-145116
Change-Id: I42100ee0e86075e9a27ce5856e5f8fcb96ff591f
Reviewed-by: Topi Reinio <topi.reinio@qt.io>
commit63910b62369a1ff19f72fdede8849f2e127a196a
parent0bc5c28904014419637f8e1d70514333c7086c1e
authorPaul Wicking <paul.wicking@qt.io>
committerPaul Wicking <paul.wicking@qt.io>
commit timeMon, 23 Mar 2026 18:43:28 +0100