c527dd44be
This makes the structure of the examples after an 'make install' similar to the one in a 'developer build'. Change-Id: I9120bd741fab332e64e30adc01cefe87e5633454 Reviewed-by: Martin Smith <martin.smith@digia.com>
21 lines
564 B
Prolog
21 lines
564 B
Prolog
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)
|