diff options
Diffstat (limited to 'tests/auto/corelib')
-rw-r--r-- | tests/auto/corelib/kernel/qcoreapplication/tst_qcoreapplication.cpp | 5 | ||||
-rw-r--r-- | tests/auto/corelib/thread/qthread/tst_qthread.cpp | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/corelib/kernel/qcoreapplication/tst_qcoreapplication.cpp b/tests/auto/corelib/kernel/qcoreapplication/tst_qcoreapplication.cpp index e8f6c29a94..2ac075bebf 100644 --- a/tests/auto/corelib/kernel/qcoreapplication/tst_qcoreapplication.cpp +++ b/tests/auto/corelib/kernel/qcoreapplication/tst_qcoreapplication.cpp @@ -622,6 +622,11 @@ public: void interrupt() {} void flush() {} +#ifdef Q_OS_WIN + bool registerEventNotifier(QWinEventNotifier *) { return false; } + void unregisterEventNotifier(QWinEventNotifier *) { } +#endif + bool visited; }; diff --git a/tests/auto/corelib/thread/qthread/tst_qthread.cpp b/tests/auto/corelib/thread/qthread/tst_qthread.cpp index 41cfc52354..da49f43b7d 100644 --- a/tests/auto/corelib/thread/qthread/tst_qthread.cpp +++ b/tests/auto/corelib/thread/qthread/tst_qthread.cpp @@ -1239,6 +1239,11 @@ public: void interrupt() {} void flush() {} +#ifdef Q_OS_WIN + bool registerEventNotifier(QWinEventNotifier *) { return false; } + void unregisterEventNotifier(QWinEventNotifier *) { } +#endif + bool visited; }; |