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 <thiago.macieira@intel.com> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
parent
282f4e5d3a
commit
b576d7f6d1
@ -6,7 +6,9 @@
|
||||
#include <QSignalSpy>
|
||||
#include <QSemaphore>
|
||||
#include <QAbstractEventDispatcher>
|
||||
#if defined(Q_OS_WIN32)
|
||||
#include <QWinEventNotifier>
|
||||
#endif
|
||||
|
||||
#include <qcoreapplication.h>
|
||||
#include <qelapsedtimer.h>
|
||||
|
@ -4,7 +4,9 @@
|
||||
|
||||
#include <QtCore/QCoreApplication>
|
||||
#include <QTest>
|
||||
#if defined(Q_OS_WIN32)
|
||||
#include <QWinEventNotifier>
|
||||
#endif
|
||||
#include <QAbstractEventDispatcher>
|
||||
|
||||
/* Custom event dispatcher to ensure we don't receive any spontaneous events */
|
||||
|
@ -4,7 +4,9 @@
|
||||
|
||||
#include <QtCore/QCoreApplication>
|
||||
#include <QTest>
|
||||
#if defined(Q_OS_WIN32)
|
||||
#include <QWinEventNotifier>
|
||||
#endif
|
||||
#include <QAbstractEventDispatcher>
|
||||
|
||||
/* Custom event dispatcher to ensure we don't receive any spontaneous events */
|
||||
|
Loading…
Reference in New Issue
Block a user