qt5base-lts/tests/auto/gui
Volker Hilsheimer ccf1a1a953 Replace QTextDocumentResourceProvider with a std::function
376e3bd8ec added the new class for Qt 6.1,
but during header review we concluded that using a class introduces
complexity wrt instance ownership and API design that can be avoided by
using a std::function instead.

The functionality is tied to QTextDocument, so the type definition and
the default provider API is added there.

Since std::function is not trivially copyable, the atomicity of the
previous implementation is not maintained, and concurrent modifications
of and access to the global default provider from multiple threads is
not allowed. The relevant use case can be supported by implementing a
resource provider that is thread safe.

Task-number: QTBUG-90211
Fixes: QTBUG-92208
Pick-to: 6.1
Change-Id: I39215c5e51c7bd27f1dd29e1d9d908aecf754fb7
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
2021-03-30 08:11:27 +02:00
..
image Fix alpha handling of QImage::setPixel 2021-03-22 14:29:14 +01:00
itemmodels Move QEMU emulation detector to QTest 2021-02-13 10:02:51 +02:00
kernel Port away from deprecated QVariant::type 2021-03-17 12:57:39 +01:00
math3d Add more support for structured bindings 2021-02-25 16:08:44 +01:00
painting QPainterPath: fix handling of fill rules 2021-03-26 10:45:46 +01:00
qopengl Skip tst_QOpenGL::glxContext test on Wayland 2021-03-11 11:58:42 +01:00
qopenglconfig Remove the qmake project files 2021-01-07 15:32:28 +01:00
qvulkan tst_qvulkan: Skip assumption about supportedApiVersion 2021-01-21 17:00:32 +01:00
rhi Skip a tst_QRhi test case with the Android emulator 2021-03-29 09:57:48 +02:00
text Replace QTextDocumentResourceProvider with a std::function 2021-03-30 08:11:27 +02:00
util QTextureFileData: support key value metadata 2021-02-09 13:39:47 +01:00
CMakeLists.txt Remove winrt 2020-06-06 20:25:49 +02:00