trafficlight-widgets-static.pro Example File | Qt SCXML 5.9

Qt 5.9 | Qt SCXML | Qt SCXML Traffic Light Example (Static) | trafficlight-widgets-static.pro Example File

Qt 5.9.3 Reference Documentation

# trafficlight-widgets-static.pro Example File

trafficlight-widgets-static/trafficlight-widgets-static.pro

      QT += widgets scxml
      CONFIG += c++11

      SOURCES = ../trafficlight-common/trafficlight.cpp
      HEADERS = ../trafficlight-common/trafficlight.h
      STATECHARTS = ../trafficlight-common/statemachine.scxml

      SOURCES += trafficlight-widgets-static.cpp

      # install
      target.path = $$[QT_INSTALL_EXAMPLES]/scxml/trafficlight-widgets-static
      INSTALLS += target

      RESOURCES += \
          trafficlight-widgets-static.qrc