qt5base-lts/tests/auto/other/compiler
Lars Knoll ed8acbeb7c Automatically register data/debug stream operations in QMetaType
And remove the old manual registration code for those operators.

Add some special handling for long/ulong, as these types could be
streamed as a QVariant so far, but are not directly streamable
through QDataStream.

[ChangeLog][QtCore][QMetaType] The QMetaType::registerStreamOperators()
and QMetaType::registerDebugStreamOperator() methods have been
removed. The streaming operators for a type are now automatically
registered together with the type registration.  This implies that the
operators should be visible wherever the type is visible and being used.

[ChangeLog][Behavior Incompatible Changes] Because the QDataStream and
QDebug serialization operators are automatically registered with
QMetaType, the declarations of those functions must be present at any
point where the type is used with QMetaType and QVariant.

Change-Id: I4a0732651b20319af4a8397ff90b848ca4580d99
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2020-08-24 00:17:03 +02:00
..
.gitignore Moved autotests in category 'other' into new directory structure 2011-09-09 09:36:41 +02:00
.prev_CMakeLists.txt CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
baseclass.cpp Updated license headers 2016-01-21 18:55:18 +00:00
baseclass.h Updated license headers 2016-01-21 18:55:18 +00:00
CMakeLists.txt CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
compiler.pro Use qtConfig throughout in qtbase 2016-08-19 04:28:05 +00:00
derivedclass.cpp Updated license headers 2016-01-21 18:55:18 +00:00
derivedclass.h Updated license headers 2016-01-21 18:55:18 +00:00
othersource.cpp Updated license headers 2016-01-21 18:55:18 +00:00
tst_compiler.cpp Automatically register data/debug stream operations in QMetaType 2020-08-24 00:17:03 +02:00