qt6-bb10/tests/auto/widgets/kernel/qapplication
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
..
desktopsettingsaware Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
modal Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
test Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
tmp
.gitignore
BLACKLIST BLACKLIST tst_QApplication::sendEventsOnProcessEvents for Ubuntu 22.04 2022-06-20 20:06:20 +03:00
CMakeLists.txt tst_qapplication: Add dependency to helpers 2022-10-28 18:41:18 +02:00
customstyle.json Ensure styles always get to polish the application palette 2020-07-21 13:43:19 +02:00
heart.svg
tst_qapplication.cpp Proper clearing of WinRT factory cache 2022-10-31 12:02:30 +01:00