ed8acbeb7c
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> |
||
---|---|---|
.. | ||
cborconverter.cpp | ||
cborconverter.h | ||
CMakeLists.txt | ||
convert.pro | ||
converter.h | ||
datastreamconverter.cpp | ||
datastreamconverter.h | ||
jsonconverter.cpp | ||
jsonconverter.h | ||
main.cpp | ||
nullconverter.cpp | ||
nullconverter.h | ||
textconverter.cpp | ||
textconverter.h | ||
xmlconverter.cpp | ||
xmlconverter.h |