From ec32748b1e98b05d8dda23f8de2c6735f6a1140b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20K=C3=B6hne?= Date: Thu, 21 Sep 2023 17:31:25 +0200 Subject: [PATCH] Doc: Fix location of QT_REQUIRE_VERSION documentation 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 --- src/widgets/dialogs/qmessagebox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/dialogs/qmessagebox.cpp b/src/widgets/dialogs/qmessagebox.cpp index b81df2bb076..efe846900db 100644 --- a/src/widgets/dialogs/qmessagebox.cpp +++ b/src/widgets/dialogs/qmessagebox.cpp @@ -2928,7 +2928,7 @@ QPixmap QMessageBox::standardIcon(Icon icon) /*! \macro QT_REQUIRE_VERSION(int argc, char **argv, const char *version) - \relates + \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