summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/examples.pro7
-rw-r--r--examples/statemachine/statemachine.pro2
2 files changed, 6 insertions, 3 deletions
diff --git a/examples/examples.pro b/examples/examples.pro
index e402f29c98..2180d18587 100644
--- a/examples/examples.pro
+++ b/examples/examples.pro
@@ -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
diff --git a/examples/statemachine/statemachine.pro b/examples/statemachine/statemachine.pro
index a049316e08..a2f18a478f 100644
--- a/examples/statemachine/statemachine.pro
+++ b/examples/statemachine/statemachine.pro
@@ -3,7 +3,7 @@ SUBDIRS = \
factorial \
pingpong
-!contains(QT_CONFIG, no-gui) {
+!contains(QT_CONFIG, no-widgets) {
SUBDIRS += \
eventtransitions \
rogue \