- Qt 5.5
- Qt Widgets
- Basic Drawing Example
- basicdrawing.pro Example File
- Qt 5.5.1 Reference Documentation

# basicdrawing.pro Example File

painting/basicdrawing/basicdrawing.pro

    QT += widgets

    HEADERS       = renderarea.h \
                    window.h
    SOURCES       = main.cpp \
                    renderarea.cpp \
                    window.cpp
    RESOURCES     = basicdrawing.qrc

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