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