Fix doxygen generation warnings


- there were a few warnings, that were related only to optional
parameters of operations:
1) {{cppCommonNamespace}}::OptionalParameter<> instead of
::{{cppNamespace}}::OptionalParameter<> should be used.
2) ::{{cppCommonNamespace}}::OptionalParameter<> contruction
should be replaced to {{cppCommonNamespace}}::OptionalParameter<>

Note:
The problem was not detected, because compression test doesn't have
optional parameters.

- added GENERATE_DOCUMENTATION flag to generate doxygen documentation
for mediatype example, that covers optional parmeters.

Pick-to: 6.11
Change-Id: I371210cd7058a9312811c7a40cf02761430e719c
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
commit9959a658d40ecd95693ea3d7ba776924db161567
parenta578b3b397c0ea2160c0a4bd0cc98c8377bd4bd4
authorTatiana Borisova <tatiana.borisova@qt.io>
committerTatiana Borisova <tatiana.borisova@qt.io>
commit timeThu, 19 Feb 2026 18:51:30 +0100