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