qt5base-lts/tests/auto/other/other.pro
Edward Welbourne 59ca056a79 Exclude tests that need GUI when GUI isn't available
Thanks to Dmitriy Purgin for pointing out the serialization one.

Task-number: QTBUG-79353
Change-Id: Ia3d750b17ddd8fbb7a83a55df7e4546ca78c358b
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
2019-10-25 11:42:09 +02:00

72 lines
1.5 KiB
Prolog

TEMPLATE=subdirs
QT_FOR_CONFIG += gui-private
SUBDIRS=\
compiler \
gestures \
lancelot \
languagechange \
macgui \
#macnativeevents \
macplist \
networkselftest \
qaccessibility \
# qaccessibilitylinux \ # QTBUG-44434
qaccessibilitymac \
qcomplextext \
qfocusevent \
qnetworkaccessmanager_and_qprogressdialog \
qobjectrace \
qsharedpointer_and_qwidget \
qprocess_and_guieventloop \
qtokenautomaton \
toolsupport \
!qtHaveModule(gui): SUBDIRS -= \
qcomplextext \
qprocess_and_guieventloop \
!qtHaveModule(widgets): SUBDIRS -= \
gestures \
lancelot \
languagechange \
macgui \
macplist \
qaccessibility \
qfocusevent \
qnetworkaccessmanager_and_qprogressdialog \
qsharedpointer_and_qwidget \
windowsmobile \
qaccessibility \
qaccessibilitylinux \
qaccessibilitymac \
winrt|!qtHaveModule(network): SUBDIRS -= \
lancelot \
networkselftest \
qnetworkaccessmanager_and_qprogressdialog \
cross_compile: SUBDIRS -= \
atwrapper \
compiler
winrt|!qtHaveModule(gui)|!qtConfig(accessibility): SUBDIRS -= qaccessibility
!qtHaveModule(gui)|!qtConfig(accessibility-atspi-bridge): SUBDIRS -= qaccessibilitylinux
!qtConfig(process): SUBDIRS -= qprocess_and_guieventloop
!macos|!qtHaveModule(gui): SUBDIRS -= \
macgui \
macnativeevents \
macplist \
qaccessibilitymac
!embedded: SUBDIRS -= \
qdirectpainter
android: SUBDIRS += \
android
qtHaveModule(gui):qtConfig(xkbcommon): SUBDIRS += xkbkeyboard