From acf3f063efd2e1600b59c217189481e158b0eb89 Mon Sep 17 00:00:00 2001 From: Yuhang Zhao <2546789017@qq.com> Date: Wed, 16 Nov 2022 10:51:45 +0800 Subject: Proper clearing of WinRT factory cache in QWindowsTheme I've checked the whole qtbase code base, this is the only one that's left from the previous commit. Amends commit ffb9dee1b0954e4d4f9e9791175609a80ecafc31 Task-number: QTBUG-103611 Pick-to: 6.4 6.2 Change-Id: I76a9130654819d1336c27dac350f5ad56915ad81 Reviewed-by: Oliver Wolff --- src/plugins/platforms/windows/qwindowstheme.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugins/platforms/windows/qwindowstheme.cpp') diff --git a/src/plugins/platforms/windows/qwindowstheme.cpp b/src/plugins/platforms/windows/qwindowstheme.cpp index debbfd19a2..8e931b1ed8 100644 --- a/src/plugins/platforms/windows/qwindowstheme.cpp +++ b/src/plugins/platforms/windows/qwindowstheme.cpp @@ -44,6 +44,7 @@ #if QT_CONFIG(cpp_winrt) # include +# include // Workaround for Windows SDK bug. // See https://github.com/microsoft/Windows.UI.Composition-Win32-Samples/issues/47 namespace winrt::impl -- cgit v1.2.3