blob: 0c981ce50537de3f2c546a901e8c8aa5522d51cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
QT += 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
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS 2dpainting.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/opengl/2dpainting
INSTALLS += target sources
simulator: warning(This example might not fully work on Simulator platform)
|