qt5base-lts/tests/auto/other/other.pro
Oswald Buddenhagen 586adeabe4 add and use qtHaveModule() function
this is much more elegant than the so far propagated !isEmpty(QT.foo.name).
also replace feature-specific tests (no-gui and no-widgets) and the
obsolete contains(QT_CONFIG, foo) syntax.

Change-Id: Ia4b3c8febcabf9eeca67b1f9173a523820b1038b
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Reviewed-by: Tasuku Suzuki <stasuku@gmail.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
2012-12-21 19:05:02 +01:00

64 lines
1.3 KiB
Prolog

TEMPLATE=subdirs
SUBDIRS=\
# atwrapper \ # QTBUG-19452
baselineexample \
collections \
compiler \
exceptionsafety \
# exceptionsafety_objects \ # QObjectPrivate is not safe
gestures \
headersclean \
lancelot \
languagechange \
macgui \
macnativeevents \
macplist \
modeltest \
networkselftest \
qaccessibility \
qaccessibilitylinux \
qcomplextext \
qfocusevent \
qnetworkaccessmanager_and_qprogressdialog \
qobjectperformance \
qobjectrace \
qsharedpointer_and_qwidget \
qtokenautomaton \
windowsmobile \
!qtHaveModule(widgets): SUBDIRS -= \
baselineexample \
gestures \
headersclean \
lancelot \
languagechange \
modeltest \
qaccessibility \
qcomplextext \
qfocusevent \
qnetworkaccessmanager_and_qprogressdialog \
qsharedpointer_and_qwidget \
windowsmobile \
qaccessibility \
qaccessibilitylinux \
testcocoon: SUBDIRS -= headersclean
cross_compile: SUBDIRS -= \
atwrapper \
compiler
wince*|!contains(QT_CONFIG, accessibility): SUBDIRS -= qaccessibility
!contains(QT_CONFIG, accessibility)|!contains(QT_CONFIG, xcb): SUBDIRS -= qaccessibilitylinux
!mac: SUBDIRS -= \
macgui \
macnativeevents \
macplist
!embedded|wince*: SUBDIRS -= \
qdirectpainter
!linux*-g++*:SUBDIRS -= exceptionsafety_objects