1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
QT += widgets opengl openglwidgets 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