Prepare QDataStream for Qt 6.0
Add the required datastream versions for 6.0. Of course the number for 5.15 and 6.0 is still something we can bump. Change-Id: I676385817befc06ea8d0ff1e9eba9c94cb4698b0 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
This commit is contained in:
parent
415c435d60
commit
a08c0ca949
@ -102,9 +102,17 @@ public:
|
||||
Qt_5_13 = 19,
|
||||
Qt_5_14 = Qt_5_13,
|
||||
#if QT_VERSION >= 0x050f00
|
||||
Qt_5_15 = Qt_5_14,
|
||||
Qt_DefaultCompiledVersion = Qt_5_15
|
||||
#elif QT_VERSION >= 0x060000
|
||||
Qt_6_0 = Qt_5_15,
|
||||
Qt_DefaultCompiledVersion = Qt_6_0
|
||||
#else
|
||||
Qt_DefaultCompiledVersion = Qt_5_14
|
||||
#endif
|
||||
#if QT_VERSION >= 0x060100
|
||||
#error Add the datastream version for this Qt version and update Qt_DefaultCompiledVersion
|
||||
#endif
|
||||
Qt_DefaultCompiledVersion = Qt_5_14
|
||||
};
|
||||
|
||||
enum ByteOrder {
|
||||
|
Loading…
x
Reference in New Issue
Block a user