Doc: Use the \examplecategory macro to tag examples


The '\meta category' command was used for tagging examples with a
specific category, used in Qt Creators Welcome mode.

As we want to also generate lists of examples belonging to a category
elsewhere in the documentation, replace the command with a macro that
expands to the original \meta command and also adds the example to
a group using the \ingroup command. This way, the category names can
be used as arguments to the \generatelist or \annotatedlist commands.

Pick-to: 6.5
Task-number: QTBUG-112731
Change-Id: Icc5b00c25f1d105269ecbf5b92bea53e93298f48
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
commit399b276f6d9aa395f4abad8191eba8b960084320
parent50026e6fa7b0fc25e30dbb56b29cd736d7a5c2b0
authorTopi Reinio <topi.reinio@qt.io>
committerTopi Reinio <topi.reinio@qt.io>
commit timeTue, 11 Apr 2023 13:35:30 +0000