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: I207110715b0d3bab25d21ef91f7b0c833c0acb27
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
commitcfeca8077184f175fb5278d682b89ef1ad83bbfd
parent98e7c17b4635e9a3acd2c5e48cf1da5d0cb0df48
authorTopi Reinio <topi.reinio@qt.io>
committerTopi Reinio <topi.reinio@qt.io>
commit timeTue, 11 Apr 2023 13:35:13 +0000