qt5base-lts/examples/widgets/itemviews/simpletreemodel/simpletreemodel.pro
hjk c527dd44be Examples: Install to $$[QT_INSTALL_EXAMPLES]/$submodule/$example
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>
2012-11-26 14:35:23 +01:00

16 lines
441 B
Prolog

HEADERS = treeitem.h \
treemodel.h
RESOURCES = simpletreemodel.qrc
SOURCES = treeitem.cpp \
treemodel.cpp \
main.cpp
CONFIG += qt
# install
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/itemviews/simpletreemodel
sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro *.txt
sources.path = $$[QT_INSTALL_EXAMPLES]/widgets/itemviews/simpletreemodel
INSTALLS += target sources
QT += widgets