- Qt 5.5
- Qt Widgets
- Calculator Example
- calculator.pro Example File
- Qt 5.5.1 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