examples/statemachine/statemachine.pro
changeset 30 5dc02b23752f
parent 0 1918ee327afb
--- a/examples/statemachine/statemachine.pro	Wed Jun 23 19:07:03 2010 +0300
+++ b/examples/statemachine/statemachine.pro	Tue Jul 06 15:10:48 2010 +0300
@@ -1,11 +1,15 @@
 TEMPLATE      = subdirs
 SUBDIRS       = \
+                factorial \
+                pingpong
+
+!contains(QT_CONFIG, no-gui) {
+    SUBDIRS +=  \
                 eventtransitions \
-                factorial \
-                pingpong \
                 rogue \
                 trafficlight \
                 twowaybutton
+}
 
 # install
 target.path = $$[QT_INSTALL_EXAMPLES]/statemachine