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
Change-Id: Ia2ed3d9fd786732c85d731634ff79afefe42333b
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
(cherry picked from commit ec32748b1e98b05d8dda23f8de2c6735f6a1140b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Kai Köhne 2023-09-21 17:31:25 +02:00 committed by Qt Cherry-pick Bot
parent f5056133a3
commit 3e797f074e

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