qt6-bb10/src
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
..
3rdparty Update the COPYRIGHT.txt file 2021-09-28 17:06:57 +02:00
android Specify Android architecture in gradle files 2021-09-30 17:27:16 +02:00
concurrent Fix QtConcurrent::blockingMapped to work with non-template sequences 2021-09-08 15:05:32 +02:00
corelib Cleanup of qthreadpool 2021-10-01 12:01:21 +02:00
dbus DBus: do not mix QList iterators and raw pointers 2021-09-20 19:21:53 +02:00
entrypoint Adjust the EntryPoint target name according to the internal module naming policy 2021-06-15 12:51:49 +02:00
gui QFontCache: don't start cleanup timer if we are not in the main thread 2021-10-01 16:46:48 +02:00
network Doc: Update Microsoft's Documentation Links 2021-09-23 15:55:59 +00:00
opengl Add some debug warnings to the GL paint engine regarding stencil 2021-09-23 16:27:59 +02:00
openglwidgets Migrate to autogenerated cpp exports 2021-06-25 19:33:12 +02:00
platformsupport High resolution wheel-event support from libinput 2021-09-18 15:39:07 +00:00
plugins Include <QHash> explicitly 2021-10-01 12:36:48 +02:00
printsupport Doc: Remove unsupported customFilters 2021-09-03 15:14:59 +00:00
sql Doc: Remove unsupported customFilters 2021-09-03 15:14:59 +00:00
testlib Document QTestLog's enums 2021-09-27 12:21:44 +02:00
tools Specify Android architecture in gradle files 2021-09-30 17:27:16 +02:00
widgets QAbstractItemView: fix crash if setData() does a model reset 2021-10-01 13:24:17 +00:00
xml Doc: Remove unsupported customFilters 2021-09-03 15:14:59 +00:00
CMakeLists.txt Make it possible to disable the PrintSupport module 2021-02-09 09:17:21 +01:00