qt6-bb10/tests/auto
Andreas Buhr ffb9dee1b0 Proper clearing of WinRT factory cache
If we use winrt's factories we have to make sure to to clear the factory
cache when one of our dlls is unloaded or we will run into dangling
factory entries which might result in crashes. So we have to make sure
that winrt::clear_factory_cache is called on every dll unload.

In order not to increase compile times and dependencies too much
qfactorycacheregistration_p.h needs to be included in Qt code whenever
we use winrt's factory cache. A rule of thumb being: Include
qfactorycacheregistration_p.h whenever including winrt/base.h.

Other Qt modules which use winrt's factories need to be updated too.

Fixes: QTBUG-103611
Pick-to: 6.2 6.4
Change-Id: I7ab24e4b18bffaca653c5b7f56a66ce99212e339
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2022-10-31 12:02:30 +01:00
..
bic/data Add BiC data for the new way to do BiC testing 2022-05-12 13:33:41 +03:00
cmake tests: fix configuring with -no-feature-gui 2022-10-29 01:04:09 +02:00
concurrent Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
corelib tests: fix configuring with -no-feature-gui 2022-10-29 01:04:09 +02:00
dbus dbus: use same type of matching quotes 2022-10-21 12:02:34 -04:00
gui Android: skip tessellation(Vulkan) 2022-10-20 20:52:47 +00:00
guiapplauncher
network tst_QTcpServer: Unblacklist addressReusable 2022-10-20 07:47:36 +00:00
opengl
other Android: delete dead code for tst_android under tests/auto/other/android 2022-10-26 14:57:40 +03:00
printsupport Port from qAsConst() to std::as_const() 2022-10-11 23:17:18 +02:00
shared Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
sql SQL/Tests: fix tst_qsqldatabase::caseSensivity() for MySQL on linux 2022-10-24 19:08:17 +00:00
testlib Update Catch2 to v2.13.10 2022-10-17 14:07:43 +02:00
tools tests: fix configuring with -no-feature-gui 2022-10-29 01:04:09 +02:00
wasm Fix typo in QWasmWindowStack's name 2022-10-20 16:36:23 +02:00
widgets Proper clearing of WinRT factory cache 2022-10-31 12:02:30 +01:00
xml Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
CMakeLists.txt Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
network-settings.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00