tests: Distinguish tst_qeventdispatcher and tst_qguieventdispatcher

Both use same source, but link without and with Qt Gui library.

Task-number: QTBUG-71751
Change-Id: I5643a07a8067f5fc10fc66f717f19bc3e16a33ab
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
bb10
Liang Qi 2018-11-14 09:47:21 +01:00
parent 37d3bc9ad7
commit 7a4f41bad9
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@
#ifdef QT_GUI_LIB
# include <QtGui/QGuiApplication>
# define tst_QEventDispatcher tst_QGuiEventDispatcher
#else
# include <QtCore/QCoreApplication>
#endif