Add auto-test for running the QEventLoop test with the GUI dispatcher

Follows a similar include-pattern as the qguieventdispatcher test.

Change-Id: Ie8669a5bc155abd6687e81526f2b95d0d19b009e
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
bb10
Tor Arne Vestbø 2013-07-17 21:50:56 +02:00 committed by The Qt Project
parent 126c1b4b41
commit 3ca9c39610
4 changed files with 9 additions and 1 deletions

View File

@ -2,7 +2,7 @@ CONFIG += testcase
CONFIG += parallel_test
TARGET = tst_qeventloop
QT = core network testlib core-private
SOURCES = tst_qeventloop.cpp
SOURCES = $$PWD/tst_qeventloop.cpp
win32:!wince*:LIBS += -luser32
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -165,6 +165,10 @@ public slots:
}
};
#ifdef QT_GUI_LIB
#define tst_QEventLoop tst_QGuiEventLoop
#endif
class tst_QEventLoop : public QObject
{
Q_OBJECT

View File

@ -6,6 +6,7 @@ SUBDIRS=\
qevent \
qfileopenevent \
qguieventdispatcher \
qguieventloop \
qguimetatype \
qguitimer \
qguivariant \

View File

@ -0,0 +1,3 @@
include(../../../corelib/kernel/qeventloop/qeventloop.pro)
TARGET = tst_qguieventloop
QT += gui