Disable some tests and examples when --no-widgets is specified
There are many tests, examples that depends on widgets. This patch disables some of them if Qt is configured without widgets. Change-Id: I5460dadca736c54221874adcd518a7021725d90a Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
This commit is contained in:
parent
336f24465a
commit
10df7967d9
@ -15,7 +15,6 @@ SUBDIRS = \
|
||||
effects \
|
||||
graphicsview \
|
||||
ipc \
|
||||
itemviews \
|
||||
layouts \
|
||||
linguist \
|
||||
mainwindows \
|
||||
@ -25,9 +24,13 @@ SUBDIRS = \
|
||||
sql \
|
||||
tools \
|
||||
tutorials \
|
||||
widgets \
|
||||
touch \
|
||||
gestures
|
||||
|
||||
!contains(QT_CONFIG, no-widgets) {
|
||||
SUBDIRS += widgets \
|
||||
itemviews
|
||||
}
|
||||
}
|
||||
wince*|embedded|x11:!contains(QT_CONFIG, no-gui): SUBDIRS += embedded
|
||||
|
||||
|
@ -3,7 +3,7 @@ SUBDIRS = \
|
||||
factorial \
|
||||
pingpong
|
||||
|
||||
!contains(QT_CONFIG, no-gui) {
|
||||
!contains(QT_CONFIG, no-widgets) {
|
||||
SUBDIRS += \
|
||||
eventtransitions \
|
||||
rogue \
|
||||
|
@ -18,6 +18,7 @@ SUBDIRS += \
|
||||
cross_compile: SUBDIRS -= tools
|
||||
!contains(QT_CONFIG, opengl): SUBDIRS -= opengl
|
||||
!unix|embedded|!contains(QT_CONFIG, dbus): SUBDIRS -= dbus
|
||||
contains(QT_CONFIG, no-widgets): SUBDIRS -= widgets
|
||||
|
||||
# disable 'make check' on Mac OS X for the following subdirs for the time being
|
||||
mac {
|
||||
|
Loading…
x
Reference in New Issue
Block a user