calculator-widgets.pro Example File | Qt SCXML 5.9

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

Qt 5.9.3 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