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>