2dpainting.pro Example File
2dpainting/2dpainting.proQT += opengl 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
simulator: warning(This example might not fully work on Simulator platform)