qt5base-lts/examples/widgets/itemviews/editabletreemodel/editabletreemodel.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

19 lines
543 B
Prolog

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