qt5base-lts/tests/auto/corelib
Marc Mutz d026fad3d9 QPointer: also make conversion to pointer-to-const work
The QWeakPointer conversion SMFs cannot actually be used for QObject
payloads, as, for unknown reasons (some comment about vtable this
author doesn't understand), conversion goes through QSharedPointer,
the creation of which throws the checkQObjectShared() warning and
yields a nullptr.

We need to continue to use the QWeakPointer(T*, bool) constructor the
QPointer(T*) ctor also uses.

It's high time we dissociated QPointer from QWeakPointer...

Amends 5f28d367d9.

Fixes: QTBUG-112464
Change-Id: I2f93843af3daf02323d77a4259eaa3745d8de3a8
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2023-05-11 08:10:16 +00:00
..
animation tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00
global Short live Q_NODISCARD_CTOR 2023-04-30 19:42:29 +02:00
io Move the formatting of <chrono> durations to QDebug & QtTest 2023-05-06 17:54:23 +00:00
ipc IPC: tst_QNativeIpcKey: rename duplicate row in test 2023-04-28 22:30:13 -05:00
itemmodels Remove unused variables 2023-04-19 12:55:02 +02:00
kernel QPointer: also make conversion to pointer-to-const work 2023-05-11 08:10:16 +00:00
mimetypes QMimeDatabase: de-duplicate some code in the unittests 2023-05-07 14:29:28 +03:00
platform tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00
plugin Q{Plugin,Factory}Loader: downgrade warnings to debug messages 2023-05-05 23:21:52 -07:00
serialization qc14n.h: general cleanup 2023-05-01 22:52:22 +03:00
text Test QLocale's parsing of small fractions with big exponents 2023-05-10 17:30:45 +02:00
thread tst_qthreadpool: expect a warning, cleaning up the test run 2023-05-04 19:40:32 +02:00
time Add a distant-future local-time-type to tst_QDateTime 2023-05-04 14:06:08 +02:00
tools Remove unused variables 2023-04-19 12:55:02 +02:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00