- Qt 5.5
- Qt OpenGL
- 2D Painting Example
- 2dpainting.pro Example File
- Qt 5.5.1 Reference Documentation

# 2dpainting.pro Example File

2dpainting/2dpainting.pro

    QT          += widgets

    HEADERS     = glwidget.h \
                  helper.h \
                  widget.h \
                  window.h
    SOURCES     = glwidget.cpp \
                  helper.cpp \
                  main.cpp \
                  widget.cpp \
                  window.cpp

    # install
    target.path = $$[QT_INSTALL_EXAMPLES]/opengl/2dpainting
    INSTALLS += target