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>
effects \
graphicsview \
ipc \
- itemviews \
layouts \
linguist \
mainwindows \
sql \
tools \
tutorials \
- widgets \
touch \
gestures
+
+ !contains(QT_CONFIG, no-widgets) {
+ SUBDIRS += widgets \
+ itemviews
+ }
}
wince*|embedded|x11:!contains(QT_CONFIG, no-gui): SUBDIRS += embedded
factorial \
pingpong
-!contains(QT_CONFIG, no-gui) {
+!contains(QT_CONFIG, no-widgets) {
SUBDIRS += \
eventtransitions \
rogue \
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 {