From b576d7f6d1b9d9536b388748ad04fc28ebb13550 Mon Sep 17 00:00:00 2001 From: Alexey Edelev Date: Sat, 14 May 2022 21:03:28 +0200 Subject: Guard the use of QWinEventNotifier in tests Add the Q_OS_WIN32 guard for the include of QWinEventNotifier. Change-Id: I7824b2ee236a370c83fd85a2f594a39cf36b36e6 Reviewed-by: Thiago Macieira Reviewed-by: Alexandru Croitor Reviewed-by: Qt CI Bot --- tests/auto/corelib/thread/qthread/tst_qthread.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/auto/corelib/thread/qthread') diff --git a/tests/auto/corelib/thread/qthread/tst_qthread.cpp b/tests/auto/corelib/thread/qthread/tst_qthread.cpp index f65722b0ff..70ed8b523b 100644 --- a/tests/auto/corelib/thread/qthread/tst_qthread.cpp +++ b/tests/auto/corelib/thread/qthread/tst_qthread.cpp @@ -6,7 +6,9 @@ #include #include #include +#if defined(Q_OS_WIN32) #include +#endif #include #include -- cgit v1.2.3