qt5base-lts/tests/auto/gui
Laszlo Agocs 62a4ca773a rhi: Make it safe to always call deleteLater on a resource
...even when the QRhi is already gone. This should not happen in
well-written applications and libraries, but we handle this
gracefully in the regular dtor and destroy() for resources that
register themselves to their creator QRhi, so by registering
everything we can offer this to all QRhiResource subclasses.

We still want to differentiate between native resource owning
QRhiResources and others (that do not create native graphics
objects), so do this via a flag passed to registerResource().
This way the behavior with QT_RHI_LEAK_CHECK=1 does not change.

Pick-to: 6.5
Fixes: QTBUG-112914
Change-Id: I9bafc81ef7a4ae76f356fc5f6248628d1f8791e0
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Christian Strømme <christian.stromme@qt.io>
2023-04-18 14:42:45 +02:00
..
image tests: blacklist tst_QImageReader::setClipRect() and 2023-03-24 10:49:16 +01:00
itemmodels tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00
kernel Test for QWindow getting enter/leave events when secondary window shows/hides 2023-04-14 20:13:41 +02:00
math3d Verify fix for manual get<I> calls for QVector<N>D 2023-03-22 15:59:10 +00:00
painting Port QPathClipper test away from home-grown QCOMPARE 2023-03-05 06:00:18 +01:00
platform Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qopengl tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00
qopenglconfig tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00
qvulkan Android: SKIP cases failing on Android 12 CI with 16GB RAM 2023-02-20 20:10:48 +02:00
rhi rhi: Make it safe to always call deleteLater on a resource 2023-04-18 14:42:45 +02:00
text Add QTextListFormat::start: html and markdown ordered list index offset 2023-03-22 10:50:58 +01:00
util Doc fix in QIntValidator::validate() and comment on a test 2023-03-03 23:19:23 +00:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00