diff --git a/src/corelib/global/qglobal.cpp b/src/corelib/global/qglobal.cpp index 7ddcb8afb8..ef0f53c51c 100644 --- a/src/corelib/global/qglobal.cpp +++ b/src/corelib/global/qglobal.cpp @@ -1323,25 +1323,6 @@ bool QInternal::activateCallbacks(Callback cb, void **parameters) \sa QT_NAMESPACE */ -/*! - \macro QT_REQUIRE_VERSION(int argc, char **argv, const char *version) - \relates - - This macro can be used to ensure that the application is run - with a recent enough version of Qt. This is especially useful - if your application depends on a specific bug fix introduced in a - bug-fix release (for example, 6.1.2). - - The \a argc and \a argv parameters are the \c main() function's - \c argc and \c argv parameters. The \a version parameter is a - string literal that specifies which version of Qt the application - requires (for example, "6.1.2"). - - Example: - - \snippet code/src_gui_dialogs_qmessagebox.cpp 4 -*/ - /*! \macro Q_DECL_EXPORT \relates diff --git a/src/widgets/dialogs/qmessagebox.cpp b/src/widgets/dialogs/qmessagebox.cpp index e9682440c6..eeab47f822 100644 --- a/src/widgets/dialogs/qmessagebox.cpp +++ b/src/widgets/dialogs/qmessagebox.cpp @@ -2738,6 +2738,25 @@ QPixmap QMessageBox::standardIcon(Icon icon) \sa show(), result() */ +/*! + \macro QT_REQUIRE_VERSION(int argc, char **argv, const char *version) + \relates + + This macro can be used to ensure that the application is run + with a recent enough version of Qt. This is especially useful + if your application depends on a specific bug fix introduced in a + bug-fix release (for example, 6.1.2). + + The \a argc and \a argv parameters are the \c main() function's + \c argc and \c argv parameters. The \a version parameter is a + string literal that specifies which version of Qt the application + requires (for example, "6.1.2"). + + Example: + + \snippet code/src_gui_dialogs_qmessagebox.cpp 4 +*/ + QT_END_NAMESPACE #include "moc_qmessagebox.cpp"