From 51e50bd1e66b2ba30619e9d6b388261c2622b37e Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Thu, 18 Feb 2021 06:52:50 +0100 Subject: [PATCH] Bump the version of QDataStream Amends f731802ba82ad260e155783e0427fb3f6ebd99fe. Change-Id: I1ba758ef4c9d80fbc11ecc78e0480f57c95007e2 Reviewed-by: Jani Heikkinen --- src/corelib/serialization/qdatastream.cpp | 1 + src/corelib/serialization/qdatastream.h | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/corelib/serialization/qdatastream.cpp b/src/corelib/serialization/qdatastream.cpp index 88207fe072..5582e7269e 100644 --- a/src/corelib/serialization/qdatastream.cpp +++ b/src/corelib/serialization/qdatastream.cpp @@ -556,6 +556,7 @@ void QDataStream::setByteOrder(ByteOrder bo) \value Qt_5_15 Same as Qt_5_13 \value Qt_6_0 Version 20 (Qt 6.0) \value Qt_6_1 Same as Qt_6_0 + \value Qt_6_2 Same as Qt_6_0 \omitvalue Qt_DefaultCompiledVersion \sa setVersion(), version() diff --git a/src/corelib/serialization/qdatastream.h b/src/corelib/serialization/qdatastream.h index c1b521c851..523dabfdc6 100644 --- a/src/corelib/serialization/qdatastream.h +++ b/src/corelib/serialization/qdatastream.h @@ -98,8 +98,9 @@ public: Qt_5_15 = Qt_5_14, Qt_6_0 = 20, Qt_6_1 = Qt_6_0, - Qt_DefaultCompiledVersion = Qt_6_1 -#if QT_VERSION >= 0x060200 + Qt_6_2 = Qt_6_0, + Qt_DefaultCompiledVersion = Qt_6_2 +#if QT_VERSION >= 0x060300 #error Add the datastream version for this Qt version and update Qt_DefaultCompiledVersion #endif };