Fix headercheck failure introduced by 67c83f329e
That commit exposed part of qfunctions_winrt.h for non-WinRT use (Windows 8) without wrapping with Q_OS_WIN. That meant the headercheck pass failed to compile when outside of Windows. Change-Id: Ie731cce21e5102f5e5879b147b7738a7d0a91ecd Reviewed-by: Andrew Knight <andrew.knight@digia.com>bb10
parent
694aae7923
commit
bdcd636dcb
|
|
@ -44,6 +44,8 @@
|
|||
|
||||
#include <QtCore/qglobal.h>
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
|
||||
#include <QtCore/QThread>
|
||||
#include <QtCore/QAbstractEventDispatcher>
|
||||
#include <QtCore/qt_windows.h>
|
||||
|
|
@ -213,4 +215,6 @@ static inline HRESULT await(const Microsoft::WRL::ComPtr<T> &asyncOp, U *results
|
|||
|
||||
} // QWinRTFunctions
|
||||
|
||||
#endif // Q_OS_WIN
|
||||
|
||||
#endif // QFUNCTIONS_WINRT_H
|
||||
|
|
|
|||
Loading…
Reference in New Issue