Updated data stream version for Qt 4.9 and 5.0
authorEckhart Koppen <eckhart.koppen@nokia.com>
Fri, 13 May 2011 10:15:04 +0000 (13:15 +0300)
committerEckhart Koppen <eckhart.koppen@nokia.com>
Fri, 13 May 2011 10:15:04 +0000 (13:15 +0300)
For now, using the same version as 4.8. This needs to be corrected
when the actual data stream version is known.

src/corelib/io/qdatastream.h

index d19fcc5..6a14e7c 100644 (file)
@@ -86,10 +86,11 @@ public:
         Qt_4_5 = 11,
         Qt_4_6 = 12,
         Qt_4_7 = Qt_4_6,
-        Qt_4_8 = Qt_4_7
-#if QT_VERSION >= 0x040900
+        Qt_4_8 = Qt_4_7,
+        Qt_4_9 = Qt_4_8,
+        Qt_5_0 = Qt_4_8
+#if QT_VERSION >= 0x050100
 #error Add the datastream version for this Qt version
-        Qt_4_9 = Qt_4_8
 #endif
     };