qt6-bb10/tests/auto/gui
Volker Hilsheimer 132d6d0127 QFontCache: don't start cleanup timer if we are not in the main thread
We can only start timers in threads started via QThread, and even then
we cannot assume that the thread runs an event loop. So only start the
timer when we are in the main thread.

Add a test that verifies that we don't get the warning message.

Pick-to: 6.2
Change-Id: I40d7d9ff115720f9ecd3eedaebbade2643daf843
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2021-10-01 16:46:48 +02:00
..
image Preserve QImage metadata when converting format with color table 2021-09-28 15:59:31 +02:00
itemmodels emit layoutAboutToBeChanged timely 2021-07-20 21:27:27 +01:00
kernel Un-blacklist quitOnLastWindowClosedMulti test on macOS in CI 2021-09-20 19:00:05 +02:00
math3d tst_QMatrixNxN: fix type-punning warning 2021-06-30 23:13:28 +02:00
painting Compile autotests for Integrity 2021-09-20 17:29:04 +03:00
platform Move QtX11Extras into QtGui as private API 2021-05-10 21:19:46 +00:00
qopengl Block flaky rhi and OpenGL tests on Android 2021-05-30 23:02:53 +02:00
qopenglconfig Remove the qmake project files 2021-01-07 15:32:28 +01:00
qvulkan vulkan: Update legacy tests and examples to the modern validation layer 2021-05-31 17:16:49 +02:00
rhi rhi: Remove Q_RELOCATABLE_TYPE for types with QVLA in them 2021-09-20 12:25:37 +02:00
text QFontCache: don't start cleanup timer if we are not in the main thread 2021-10-01 16:46:48 +02:00
util Compile autotests for Integrity 2021-09-20 17:29:04 +03:00
CMakeLists.txt Move QtX11Extras into QtGui as private API 2021-05-10 21:19:46 +00:00