diff --git a/src/corelib/kernel/qmetaobject.cpp b/src/corelib/kernel/qmetaobject.cpp index f9df95ebce3..3d0cfb4b33d 100644 --- a/src/corelib/kernel/qmetaobject.cpp +++ b/src/corelib/kernel/qmetaobject.cpp @@ -2324,8 +2324,9 @@ int QMetaMethod::relativeMethodIndex() const // This method has been around for a while, but the documentation was marked \internal until 5.1 /*! \since 5.1 - Returns the method revision if one was - specified by Q_REVISION, otherwise returns 0. + Returns the method revision if one was specified by Q_REVISION, otherwise + returns 0. Since Qt 6.0, non-zero values are encoded and can be decoded + using QTypeRevision::fromEncodedVersion(). */ int QMetaMethod::revision() const { @@ -3998,8 +3999,9 @@ int QMetaProperty::notifySignalIndex() const /*! \since 5.1 - Returns the property revision if one was - specified by REVISION, otherwise returns 0. + Returns the property revision if one was specified by Q_REVISION, otherwise + returns 0. Since Qt 6.0, non-zero values are encoded and can be decoded + using QTypeRevision::fromEncodedVersion(). */ int QMetaProperty::revision() const {