Don't build empty qwineventnotifier test.
This test is only useful on Windows, so avoid building it elsewhere rather than building an empty test. Change-Id: I01d91266bcb2dd242e02e70741ad5b81a13c33f0 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
This commit is contained in:
parent
55f1560605
commit
fe48366b48
@ -20,3 +20,6 @@ SUBDIRS=\
|
||||
|
||||
!contains(QT_CONFIG, private_tests): SUBDIRS -= \
|
||||
qsocketnotifier
|
||||
|
||||
# This test is only applicable on Windows
|
||||
!win32*:SUBDIRS -= qwineventnotifier
|
||||
|
@ -41,11 +41,7 @@
|
||||
|
||||
|
||||
#include <QtTest/QtTest>
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
#include <private/qwineventnotifier_p.h>
|
||||
|
||||
|
||||
#include <qtimer.h>
|
||||
|
||||
//TESTED_CLASS=
|
||||
@ -140,7 +136,3 @@ void tst_QWinEventNotifier::simple()
|
||||
QTEST_MAIN(tst_QWinEventNotifier)
|
||||
|
||||
#include "tst_qwineventnotifier.moc"
|
||||
#else // non-windows systems
|
||||
QTEST_NOOP_MAIN
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user