qt5base-lts/tests/auto/corelib/serialization/qdatastream
Lars Knoll 45ed28a9d3 Remove QRegExp from QVariant
Add an operator QVariant() to QRegExp to keep things at source compatible
as possible.

Add a hack to QVariant::load/save() to recognize the old typeid
for QRegExp and stream them correctly as long as the streaming operators
for QRegExp are registered.

Also move the datastream test for QRegExp to tst_qregexp, and adjust it to
the qvariant changes.

Change-Id: I120b38a7541b43ec07a21b17f7f35c55f071eb75
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2020-05-14 12:19:47 +00:00
..
.gitignore Create corelib/serialization and move existing file formats into it 2018-01-26 20:59:50 +00:00
.prev_CMakeLists.txt CMake: Regenerate tests projects 2020-03-12 11:41:39 +01:00
CMakeLists.txt CMake: Regenerate tests projects 2020-03-12 11:41:39 +01:00
datastream.q42 Create corelib/serialization and move existing file formats into it 2018-01-26 20:59:50 +00:00
qdatastream.pro Remove QLinkedList 2020-02-19 21:01:07 +01:00
testdata.qrc Create corelib/serialization and move existing file formats into it 2018-01-26 20:59:50 +00:00
tst_qdatastream.cpp Remove QRegExp from QVariant 2020-05-14 12:19:47 +00:00