Qt 5.6 | Qt Widgets | Calculator Example | calculator.pro Example File

Qt 5.6.2 Reference Documentation

# calculator.pro Example File

widgets/calculator/calculator.pro

      QT += widgets

      HEADERS       = button.h \
                      calculator.h
      SOURCES       = button.cpp \
                      calculator.cpp \
                      main.cpp

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