qt5base-lts/qmake
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
..
doc Doc: Drop dependency on qtgraphicaleffects 2020-08-20 06:31:44 +02:00
generators iOS: Add a variable to customize where the launch image is taken from 2020-07-22 00:42:36 +02:00
library Add ; to Q_UNUSED 2020-07-07 11:51:48 +02:00
.prev_CMakeLists.txt Move QRegExp and its remaining mentions out of QtCore 2020-07-13 10:53:23 +02:00
cachekeys.h qmake: fix a few deprecated QChar(non-char-type) warnings 2020-05-12 07:43:48 +02:00
CMakeLists.txt Automatically register data/debug stream operations in QMetaType 2020-08-24 00:17:03 +02:00
main.cpp Move QRegExp and its remaining mentions out of QtCore 2020-07-13 10:53:23 +02:00
Makefile.unix Long Live QMap as a refcounted std::map! 2020-08-06 19:15:39 +02:00
Makefile.unix.macos macOS: Merge qcore_mac cpp and mm files 2020-03-12 06:07:35 +01:00
Makefile.unix.mingw Compile QRegularExpression into qmake 2020-05-05 18:41:20 +02:00
Makefile.unix.unix Move the readlink(2) wrapper to qcore_unix.cpp 2017-07-08 02:18:16 +00:00
Makefile.unix.win32 Compile QRegularExpression into qmake 2020-05-05 18:41:20 +02:00
Makefile.win32 Long Live QMap as a refcounted std::map! 2020-08-06 19:15:39 +02:00
meta.cpp qmake: Remove dead code 2019-04-05 07:48:34 +00:00
meta.h qmake: Remove dead code 2019-04-05 07:48:34 +00:00
option.cpp Add ; to Q_UNUSED 2020-07-07 11:51:48 +02:00
option.h Remove QMake's -createstub option 2019-08-03 14:48:10 +02:00
project.cpp Port qmake from QStringRef to QStringView 2020-06-05 09:07:14 +02:00
project.h Port qmake from QStringRef to QStringView 2020-06-05 09:07:14 +02:00
property.cpp Remove leftovers from QML1 2019-10-10 11:28:19 +02:00
property.h move generation of qconfig.cpp (and qt.conf) to qmake-based configure 2016-12-13 18:56:12 +00:00
qmake_pch.h Move QRegExp and its remaining mentions out of QtCore 2020-07-13 10:53:23 +02:00
qmake-aux.pro revert to building qmake with qconfig.cpp 2017-01-06 20:09:08 +00:00
qmake.pro Long Live QMap as a refcounted std::map! 2020-08-06 19:15:39 +02:00