Repair tst_qwineventnotifier

- add missing include
- fix platform detection in CMakeLists.txt

Change-Id: If7d04765eb40310d2841e792e8f80e083e067ad2
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Alex Trotsenko 2021-03-26 20:11:17 +02:00
parent e65558c230
commit d8c6052815
2 changed files with 3 additions and 1 deletions

View File

@ -39,7 +39,7 @@ endif()
if(QT_FEATURE_systemsemaphore AND NOT ANDROID AND NOT UIKIT)
add_subdirectory(qsystemsemaphore)
endif()
if(win32_x_)
if(WIN32)
add_subdirectory(qwineventnotifier)
endif()
if(QT_FEATURE_private_tests)

View File

@ -27,6 +27,8 @@
****************************************************************************/
#include <QTest>
#include <QTestEventLoop>
#include <qlist.h>
#include <qtimer.h>
#include <qvarlengtharray.h>