[Interest] QStandardItemData safe QDataStream operators

Giuseppe D'Angelo giuseppe.dangelo at kdab.com
Wed Nov 22 16:57:47 CET 2017


Il 22/11/2017 16:40, Luca Beldi ha scritto:
> I noticed a bug affecting QDataStream operators for QStandardItemData 
> that makes it not portable across systems with different sizeof(int) 
> (more details on the bug report https://bugreports.qt.io/browse/QTBUG-63765)

Just a side note (haven't look in the issue you're mentioning), but Qt 
has never worked (and will likely never work) on systems where 
sizeof(int) != 4. This is actually enforced:

> https://code.qt.io/cgit/qt/qtbase.git/tree/src/corelib/global/qglobal.cpp?h=5.9#n131

My 2 cents,
-- 
Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Senior Software Engineer
KDAB (UK) Ltd., a KDAB Group company | Tel: UK +44-1625-809908
KDAB - Qt, C++ and OpenGL Experts

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4007 bytes
Desc: Firma crittografica S/MIME
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20171122/8bd581f9/attachment.bin>


More information about the Interest mailing list