Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.7.2, 6.8.0
-
-
6c8368226 (dev), d815b7d83 (6.8)
Description
QMetaProperty::revision() document says it will return value specified by REVISION, otherwise returns 0 but with Qt6, the number given back by QMetaProperty::revision() is offset by a fixed number 6528 and the number given by REVSION is added to 6528.
And the final value is like:
65281
65282
65283 etc.
Attached little example shows this.
Attachments
For Gerrit Dashboard: QTBUG-129920 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
597524,1 | QMeta{Property,Method}: document that revision() is encoded since 6.0 | tqtc/lts-6.5 | qt/tqtc-qtbase | Status: NEW | +2 | 0 |
597214,3 | QMeta{Property,Method}: document that revision() is encoded since 6.0 | dev | qt/qtbase | Status: MERGED | +2 | 0 |
597507,2 | QMeta{Property,Method}: document that revision() is encoded since 6.0 | 6.8 | qt/qtbase | Status: MERGED | +2 | 0 |