qt5base-lts/tests/auto/other.pro
Rohan McGovern 089ad37751 If accessibility isn't built, don't try to test it
Only build the autotest when the feature to be tested is in the Qt
build.  This is better than building and running an empty test.

Change-Id: I67721f5f48296afcca64f761d12325f8e040f2d8
Reviewed-by: Rohan McGovern
(cherry picked from commit cf911bc0d297ed30e615fd115b0d3ae574cb2412)

Conflicts:

	tests/auto/qaccessibility/tst_qaccessibility.cpp
2011-05-18 10:46:40 +10:00

67 lines
1.6 KiB
Prolog

# These tests don't nicely fit into one of the other .pro files.
# They are testing too many Qt modules at the same time.
TEMPLATE=subdirs
SUBDIRS=\
# baselineexample \ Just an example demonstrating qbaselinetest usage
lancelot \
qalgorithms \
qcombobox \
qcssparser \
#qdatastream \ # FIXME: uses qtsvg (QTBUG-19244)
qdir \
qfocusevent \
qimage \
qiodevice \
qitemmodel \
qlayout \
qmdiarea \
qmenu \
qmenubar \
qmouseevent \
qpainter \
qpixmap \
qprinter \
qsettings \
qsplitter \
qtabwidget \
qtextbrowser \
qtextdocument \
qtextedit \
qtoolbutton \
qvariant \
qwidget \
qworkspace \
windowsmobile \
nativeimagehandleprovider
contains(QT_CONFIG, accessibility):SUBDIRS += qaccessibility
contains(QT_CONFIG, OdfWriter):SUBDIRS += qzip qtextodfwriter
mac: {
SUBDIRS += macgui \
macnativeevents \
macplist \
qaccessibility_mac
}
embedded:!wince* {
SUBDIRS += qcopchannel \
qdirectpainter \
qmultiscreen
}
symbian {
SUBDIRS += qsoftkeymanager \
qs60mainapplication
}
!win32-msvc*:!wince*:SUBDIRS += exceptionsafety_objects
# Following tests depends on private API
!contains(QT_CONFIG, private_tests): SUBDIRS -= \
qcombobox \
qcssparser \
qtextedit \