qt5base-lts/tests/auto/corelib/kernel
Fawzi Mohamed f69144471b Allow getting a const pointer out of a variant containing pointer
Currently
  A a;
  QVariant::fromValue(&a).value<const A*>() == nullptr;
Still casting non const to const is safe, and worked in Qt5.
After this change
  A a;
  QVariant::fromValue(&a).value<const A*>() == &a;

Change-Id: I257049d084c712b00a338a2943d379aa478e0981
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2020-10-08 18:13:34 +02:00
..
qcoreapplication Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
qdeadlinetimer CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qelapsedtimer CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qeventdispatcher CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qeventloop Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
qmath CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qmetacontainer tst_qmetacontainer: Remove non-existing typeflags.bin from build system 2020-09-25 08:50:11 +02:00
qmetaenum CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qmetamethod CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qmetaobject Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
qmetaobjectbuilder Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
qmetaproperty CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qmetatype Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
qmimedata CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qobject Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
qpointer Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
qproperty Fix ChangeHandler notification for eager properties 2020-09-30 09:27:50 +02:00
qsharedmemory CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qsignalblocker CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qsignalmapper CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qsocketnotifier CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qsystemsemaphore CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qtimer CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qtranslator CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qvariant Allow getting a const pointer out of a variant containing pointer 2020-10-08 18:13:34 +02:00
qwineventnotifier CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
.prev_CMakeLists.txt Add a QMetaSequence interface 2020-09-01 13:35:39 +02:00
CMakeLists.txt CMake: Fix building with -DQT_FEATURE_gui=OFF 2020-09-15 20:05:32 +02:00
kernel.pro CMake: Fix building with -DQT_FEATURE_gui=OFF 2020-09-15 20:05:32 +02:00