QDoc: Fix test values for C++ reference page IR types


The qmakeVariable test used the raw variable name ("coap") but the
extractor produces the full snippet ("QT += coap"). The test value
should match the extraction semantics, consistent with how
cmakeFindPackage and cmakeTargetLinkLibraries already carry full
command strings.

The catch_builder test used aggregate brace initialization for
InlineContent, which triggered -Wmissing-field-initializers warnings
because the initializer list omitted the trailing attributes and link
fields. Replaced with explicit field assignment.

Task-number: QTBUG-145769
Change-Id: Ie0890c6383a3ef9d96ec3696a1f0bf56731b644c
Reviewed-by: Topi Reinio <topi.reinio@qt.io>
commit6a43a3315839b8d92031b7a36a623a7c5a413319
parent6e4a4abc85cdc40b2ca0ef8a84d669d1627da9d0
authorPaul Wicking <paul.wicking@qt.io>
committerPaul Wicking <paul.wicking@qt.io>
commit timeWed, 15 Apr 2026 06:35:17 +0000