qt6-bb10/tests/auto/widgets
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
..
dialogs tests: skip tst_QDialog::showAsTool() on Wayland 2022-10-07 13:20:13 +02:00
effects Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
graphicsview tests: skip tst_QGraphicsProxyWidget::bypassGraphicsProxyWidget() on Wayland 2022-10-21 13:58:19 +02:00
itemviews Port from qAsConst() to std::as_const() 2022-10-11 23:17:18 +02:00
kernel Proper clearing of WinRT factory cache 2022-10-31 12:02:30 +01:00
styles Port from qAsConst() to std::as_const() 2022-10-11 23:17:18 +02:00
util tests: skip tst_QCompleter::showPopupInGraphicsView() on Wayland 2022-10-14 17:18:53 +02:00
widgets Fix bool comparison in tst_qopenglwidget.cpp 2022-10-23 00:14:15 +02:00
CMakeLists.txt Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00