qt5base-lts/tests/auto/corelib/kernel
Thiago Macieira 99fc96fd37 QMetaType & QVariant: "load" and "save" std::nullptr_t
We don't load and save pointers usually because the pointer value cannot
be guaranteed to remain across program invocations. However, nullptr is
an exception: a null pointer is always a null pointer.

We don't actually have to read or write anything: there's only one value
possible for a std::nullptr_t and it is nullptr.

[ChangeLog][Important Behavior Changes] A QVariant containing a
std::nullptr_t is now streamable to/from QDataStream.

Task-number: QTBUG-59391
Change-Id: Iae839f6a131a4f0784bffffd14aa374f6475d283
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2017-03-20 21:53:32 +00:00
..
qcoreapplication Use QT_CONFIG(library) instead of QT_NO_LIBRARY 2017-03-06 11:27:20 +00:00
qdeadlinetimer Increase the resolution for QDeadlineTimer unit test 2016-10-26 03:16:26 +00:00
qelapsedtimer 50 ms isn't enough for the CI, so increase to 100 ms 2017-02-15 08:09:57 +00:00
qeventdispatcher Updated license headers 2016-01-21 18:55:18 +00:00
qeventloop Use qtConfig throughout in qtbase 2016-08-19 04:28:05 +00:00
qmath Updated license headers 2016-01-21 18:55:18 +00:00
qmetaenum Updated license headers 2016-01-21 18:55:18 +00:00
qmetamethod Updated license headers 2016-01-21 18:55:18 +00:00
qmetaobject Add a function to QMetaObject to check for inheritance 2016-03-15 16:36:22 +00:00
qmetaobjectbuilder Updated license headers 2016-01-21 18:55:18 +00:00
qmetaproperty Updated license headers 2016-01-21 18:55:18 +00:00
qmetatype QMetaType & QVariant: "load" and "save" std::nullptr_t 2017-03-20 21:53:32 +00:00
qmimedata Updated license headers 2016-01-21 18:55:18 +00:00
qobject Properly use the "process" feature 2017-02-27 15:44:46 +00:00
qpointer Merge remote-tracking branch 'origin/5.6' into 5.7 2016-04-04 08:59:18 +02:00
qsharedmemory Properly use the "process" feature 2017-02-27 15:44:46 +00:00
qsignalblocker Updated license headers 2016-01-21 18:55:18 +00:00
qsignalmapper Updated license headers 2016-01-21 18:55:18 +00:00
qsocketnotifier Use qtConfig throughout in qtbase 2016-08-19 04:28:05 +00:00
qsystemsemaphore Properly use the "process" feature 2017-02-27 15:44:46 +00:00
qtimer Blacklist tst_QTimer::remainingTime() on Windows and macOS 2017-02-14 13:30:12 +00:00
qtranslator Remove the traces of the discontinued android-no-sdk platform 2016-03-30 10:12:34 +00:00
qvariant QVariant: don't do fuzzy comparisons with NaN and infinities 2017-01-31 19:09:28 +00:00
qwineventnotifier Updated license headers 2016-01-21 18:55:18 +00:00
kernel.pro Use qtConfig throughout in qtbase 2016-08-19 04:28:05 +00:00