path: root/mkspecs
diff options
authorSona Kurazyan <>2020-07-31 11:51:23 +0200
committerSona Kurazyan <>2020-08-04 19:52:22 +0200
commit8003ae79bfd72736b809805afbb7984c3431031e (patch)
treeac46396976bfb3c96341ed441b06f3c1b9ab6f85 /mkspecs
parent883f2dd81f8d85d52130aece540cdf9efa3d0069 (diff)
Document the changed semantics when passing arrays to QByteArray methods
After adding QByteArrayView overloads of QByteArray methods that used to take char*, the way of determining the length of passed fixed-sized array data has changed, due to the QByteArraiyView's optimization to deduce the length at compile time for arrays. Document the behavior and add a changelog item. [ChangeLog][QtCore][QByteArray] When passing fixed size C arrays to QByteArray methods, the length of the data on which the method will operate is determined by array size, and not by scanning for the first '\0' terminator, as it was in Qt 5. Task-number: QTBUG-85815 Change-Id: I11cba17d428791e06c9bd4c7a727b7bd6b6aec3c Reviewed-by: Paul Wicking <> Reviewed-by: Edward Welbourne <> Reviewed-by: Lars Knoll <>
Diffstat (limited to 'mkspecs')
0 files changed, 0 insertions, 0 deletions