qt5base-lts/examples/statemachine/statemachine.pro
Jędrzej Nowacki 10df7967d9 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>
2012-03-19 20:16:04 +01:00

20 lines
519 B
Prolog

TEMPLATE = subdirs
SUBDIRS = \
factorial \
pingpong
!contains(QT_CONFIG, no-widgets) {
SUBDIRS += \
eventtransitions \
rogue \
trafficlight \
twowaybutton
}
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/statemachine
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS statemachine.pro README
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/statemachine
INSTALLS += target sources
QT += widgets