Replace cargo-cult winrt snippet with unified header-include
Pick-to: 6.5 Change-Id: Ide9ec7e4d6c31220fa445d8acb63f7eeca60ab7c Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
This commit is contained in:
parent
f2b22a2945
commit
4cd0716c39
@ -62,15 +62,7 @@
|
||||
#include "qwindowsopengltester.h"
|
||||
|
||||
#if QT_CONFIG(cpp_winrt)
|
||||
# include <winrt/base.h>
|
||||
# include <QtCore/private/qfactorycacheregistration_p.h>
|
||||
// Workaround for Windows SDK bug.
|
||||
// See https://github.com/microsoft/Windows.UI.Composition-Win32-Samples/issues/47
|
||||
namespace winrt::impl
|
||||
{
|
||||
template <typename Async>
|
||||
auto wait_for(Async const& async, Windows::Foundation::TimeSpan const& timeout);
|
||||
}
|
||||
# include <QtCore/private/qt_winrtbase_p.h>
|
||||
# include <winrt/Windows.UI.Notifications.h>
|
||||
# include <winrt/Windows.Data.Xml.Dom.h>
|
||||
# include <winrt/Windows.Foundation.h>
|
||||
|
Loading…
Reference in New Issue
Block a user