qt5base-lts/tests/auto/other/other.pro
Alex Richardson 47bb74fd15 Fix build with -no-gui on macOS
Some directories that depend on QtGui were being included without the
appropriate check for qtHaveModule(gui).

Change-Id: I7c348c74464d44cbd35a027f188f8a23bb2021d9
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
2019-03-04 12:25:53 +00:00

70 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