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: Ib6e5520608c18bb2ea7483bef9694fdd548a3281
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
commit6519622cb82de4cb44d2dd143adbdb8047b2a578
parentf9ae142e9021b032dcd6dd8c45950c5d84eef6e0
authorTopi Reinio <topi.reinio@qt.io>
committerTopi Reinio <topi.reinio@qt.io>
commit timeTue, 11 Apr 2023 13:34:36 +0000