QtTest: fix build error with -no-gui

Change-Id: I6f4297c7f959394ca31dfb228dac8659ea6c854d
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Tasuku Suzuki 2015-07-06 10:23:56 +09:00 committed by Thiago Macieira
parent cf63c63d55
commit 826a83937d

View File

@ -98,7 +98,14 @@ mac {
# Exclude these headers from the clean check if their dependencies aren't
# being built
contains(QT_CONFIG, no-widgets): HEADERSCLEAN_EXCLUDE += qtest_widgets.h
contains(QT_CONFIG, no-gui): HEADERSCLEAN_EXCLUDE += qtest_gui.h
!qtHaveModule(gui) {
HEADERSCLEAN_EXCLUDE += qtest_gui.h \
qtestaccessible.h \
qtestkeyboard.h \
qtestmouse.h \
qtesttouch.h
}
!qtHaveModule(widgets): HEADERSCLEAN_EXCLUDE += qtest_widgets.h
load(qt_module)