diff --git a/src/corelib/global/qlogging.cpp b/src/corelib/global/qlogging.cpp index 9b0fbe37b5c..d33f0937207 100644 --- a/src/corelib/global/qlogging.cpp +++ b/src/corelib/global/qlogging.cpp @@ -2509,7 +2509,7 @@ QMessageLogContext &QMessageLogContext::copyContextFrom(const QMessageLogContext A message generated by the qCritical() function. \value QtFatalMsg A message generated by the qFatal() function. - \value QtSystemMsg + \omitvalue QtSystemMsg \c QtInfoMsg was added in Qt 5.5. diff --git a/src/corelib/global/qlogging.h b/src/corelib/global/qlogging.h index 44821b44636..de822672184 100644 --- a/src/corelib/global/qlogging.h +++ b/src/corelib/global/qlogging.h @@ -32,7 +32,9 @@ enum QtMsgType { QtCriticalMsg, QtFatalMsg, QtInfoMsg, - QtSystemMsg = QtCriticalMsg +#if QT_DEPRECATED_SINCE(6, 7) + QtSystemMsg Q_DECL_ENUMERATOR_DEPRECATED_X("Use QtCriticalMsg instead.") = QtCriticalMsg +#endif }; class QMessageLogContext