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:
Jason McDonald 2011-10-11 17:42:44 +10:00 committed by Qt by Nokia
parent 55f1560605
commit fe48366b48
2 changed files with 3 additions and 8 deletions

View File

@ -20,3 +20,6 @@ SUBDIRS=\
!contains(QT_CONFIG, private_tests): SUBDIRS -= \
qsocketnotifier
# This test is only applicable on Windows
!win32*:SUBDIRS -= qwineventnotifier

View File

@ -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