factorial.pro Example File

statemachine/factorial/factorial.pro

  QT = core
  win32: CONFIG += console
  mac:CONFIG -= app_bundle

  SOURCES += main.cpp

  # install
  target.path = $$[QT_INSTALL_EXAMPLES]/widgets/statemachine/factorial
  INSTALLS += target