qt5base-lts/examples/widgets/richtext/textedit/textedit.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

24 lines
576 B
Prolog

TEMPLATE = app
TARGET = textedit
CONFIG += qt warn_on
HEADERS = textedit.h
SOURCES = textedit.cpp \
main.cpp
RESOURCES += textedit.qrc
build_all:!build_pass {
CONFIG -= build_all
CONFIG += release
}
# install
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/richtext/textedit
sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro *.html *.doc images
sources.path = $$[QT_INSTALL_EXAMPLES]/widgets/richtext/textedit
INSTALLS += target sources
QT += widgets
!isEmpty(QT.printsupport.name): QT += printsupport