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.

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>
(cherry picked from commit 3e797f074e984786be06fc60d29d57a509537147)
This commit is contained in:
Kai Köhne 2023-09-21 17:31:25 +02:00 committed by Qt Cherry-pick Bot
parent 313b8c7c86
commit 118655a17a

View File

@ -2802,7 +2802,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