[Development] QDataStream: blackbox or document all versions?

Bernhard Lindner private at bernhard-lindner.de
Mon Oct 3 09:43:49 CEST 2016


> You could choose to turn QDataStream into a black-box, but I think there
> should be a white-box alternative which has to be
> 1/ as efficient : binary format
> 2/ as easy to use : QDataStream is able to serialize any type with the help
> of qRegisterMetaTypeStreamOperators
> 3/ as generic : it should be able to use any QIODevice for transport/storage

+1

> 1/ discards XML and JSON, and 3/ discards QSettings and D-Bus.

Thanks for pointing this out!

P.S.: https://bugreports.qt.io/browse/QTBUG-25237

-- 
Regards, Bernhard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20161003/191212fa/attachment.sig>


More information about the Development mailing list