1 /**************************************************************************** |
1 /**************************************************************************** |
2 ** |
2 ** |
3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). |
3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
4 ** All rights reserved. |
4 ** All rights reserved. |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
6 ** |
6 ** |
7 ** This file is part of the QtCore module of the Qt Toolkit. |
7 ** This file is part of the QtCore module of the Qt Toolkit. |
8 ** |
8 ** |
590 You don't \e have to set a version if you are using the current |
590 You don't \e have to set a version if you are using the current |
591 version of Qt, but for your own custom binary formats we |
591 version of Qt, but for your own custom binary formats we |
592 recommend that you do; see \l{Versioning} in the Detailed |
592 recommend that you do; see \l{Versioning} in the Detailed |
593 Description. |
593 Description. |
594 |
594 |
595 In order to accommodate new functionality, the datastream |
595 To accommodate new functionality, the datastream serialization |
596 serialization format of some Qt classes has changed in some |
596 format of some Qt classes has changed in some versions of Qt. If |
597 versions of Qt. If you want to read data that was created by an |
597 you want to read data that was created by an earlier version of |
598 earlier version of Qt, or write data that can be read by a |
598 Qt, or write data that can be read by a program that was compiled |
599 program that was compiled with an earlier version of Qt, use this |
599 with an earlier version of Qt, use this function to modify the |
600 function to modify the serialization format used by QDataStream. |
600 serialization format used by QDataStream. |
601 |
601 |
602 \table |
602 \table |
603 \header \i Qt Version \i QDataStream Version |
603 \header \i Qt Version \i QDataStream Version |
|
604 \row \i Qt 4.6 \i 12 |
|
605 \row \i Qt 4.5 \i 11 |
604 \row \i Qt 4.4 \i 10 |
606 \row \i Qt 4.4 \i 10 |
605 \row \i Qt 4.3 \i 9 |
607 \row \i Qt 4.3 \i 9 |
606 \row \i Qt 4.2 \i 8 |
608 \row \i Qt 4.2 \i 8 |
607 \row \i Qt 4.0, 4.1 \i 7 |
609 \row \i Qt 4.0, 4.1 \i 7 |
608 \row \i Qt 3.3 \i 6 |
610 \row \i Qt 3.3 \i 6 |