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
parent
126c1b4b41
commit
3ca9c39610
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -165,6 +165,10 @@ public slots:
|
|||
}
|
||||
};
|
||||
|
||||
#ifdef QT_GUI_LIB
|
||||
#define tst_QEventLoop tst_QGuiEventLoop
|
||||
#endif
|
||||
|
||||
class tst_QEventLoop : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ SUBDIRS=\
|
|||
qevent \
|
||||
qfileopenevent \
|
||||
qguieventdispatcher \
|
||||
qguieventloop \
|
||||
qguimetatype \
|
||||
qguitimer \
|
||||
qguivariant \
|
||||
|
|
|
|||
|
|
@ -0,0 +1,3 @@
|
|||
include(../../../corelib/kernel/qeventloop/qeventloop.pro)
|
||||
TARGET = tst_qguieventloop
|
||||
QT += gui
|
||||
Loading…
Reference in New Issue