Doc: Fix location of QT_REQUIRE_VERSION documentation

<QMessageBox> is not a (separately documented) header. QDoc
therefore puts the documentation on a separate proxy page:

https://doc.qt.io/qt-6/qmessagebox-proxy.html

Fix this by actually linking to the type.

This amends  95a3f85a2f, which moved the macro from
QtGlobal to QMessageBox.

Pick-to: 6.5 6.6
Change-Id: Ia2ed3d9fd786732c85d731634ff79afefe42333b
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
This commit is contained in:
Kai Köhne 2023-09-21 17:31:25 +02:00 committed by Paul Wicking
parent cf0bd543d6
commit ec32748b1e

View File

@ -2928,7 +2928,7 @@ QPixmap QMessageBox::standardIcon(Icon icon)
/*!
\macro QT_REQUIRE_VERSION(int argc, char **argv, const char *version)
\relates <QMessageBox>
\relates QMessageBox
This macro can be used to ensure that the application is run
with a recent enough version of Qt. This is especially useful