calculator-widgets.pro Example File | Qt SCXML 5.7

Qt 5.7 | Qt SCXML | Qt SCXML Calculator Example | calculator-widgets.pro Example File

Qt 5.7.1 Reference Documentation

# calculator-widgets.pro Example File

calculator-widgets/calculator-widgets.pro

      QT += widgets scxml

      CONFIG += c++11

      STATECHARTS = ../calculator-common/statemachine.scxml

      SOURCES += \
          calculator-widgets.cpp \
          mainwindow.cpp

      HEADERS += \
          mainwindow.h

      FORMS += \
          mainwindow.ui

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

      load(qscxmlc)