Replace cargo-cult winrt snippet with unified header-include
Change-Id: Ide9ec7e4d6c31220fa445d8acb63f7eeca60ab7c Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> (cherry picked from commit 4cd0716c39d0251d97a268f7851b770440b09691) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
7daf30ad6a
commit
e070aebb1f
@ -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…
x
Reference in New Issue
Block a user