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 \
|
effects \
|
||||||
graphicsview \
|
graphicsview \
|
||||||
ipc \
|
ipc \
|
||||||
itemviews \
|
|
||||||
layouts \
|
layouts \
|
||||||
linguist \
|
linguist \
|
||||||
mainwindows \
|
mainwindows \
|
||||||
@ -25,9 +24,13 @@ SUBDIRS = \
|
|||||||
sql \
|
sql \
|
||||||
tools \
|
tools \
|
||||||
tutorials \
|
tutorials \
|
||||||
widgets \
|
|
||||||
touch \
|
touch \
|
||||||
gestures
|
gestures
|
||||||
|
|
||||||
|
!contains(QT_CONFIG, no-widgets) {
|
||||||
|
SUBDIRS += widgets \
|
||||||
|
itemviews
|
||||||
|
}
|
||||||
}
|
}
|
||||||
wince*|embedded|x11:!contains(QT_CONFIG, no-gui): SUBDIRS += embedded
|
wince*|embedded|x11:!contains(QT_CONFIG, no-gui): SUBDIRS += embedded
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@ SUBDIRS = \
|
|||||||
factorial \
|
factorial \
|
||||||
pingpong
|
pingpong
|
||||||
|
|
||||||
!contains(QT_CONFIG, no-gui) {
|
!contains(QT_CONFIG, no-widgets) {
|
||||||
SUBDIRS += \
|
SUBDIRS += \
|
||||||
eventtransitions \
|
eventtransitions \
|
||||||
rogue \
|
rogue \
|
||||||
|
@ -18,6 +18,7 @@ SUBDIRS += \
|
|||||||
cross_compile: SUBDIRS -= tools
|
cross_compile: SUBDIRS -= tools
|
||||||
!contains(QT_CONFIG, opengl): SUBDIRS -= opengl
|
!contains(QT_CONFIG, opengl): SUBDIRS -= opengl
|
||||||
!unix|embedded|!contains(QT_CONFIG, dbus): SUBDIRS -= dbus
|
!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
|
# disable 'make check' on Mac OS X for the following subdirs for the time being
|
||||||
mac {
|
mac {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user