textedit.pro Example File

richtext/textedit/textedit.pro
QT += widgets
requires(qtConfig(filedialog))
qtHaveModule(printsupport): QT += printsupport
TEMPLATE        = app
TARGET          = textedit
HEADERS         = textedit.h
SOURCES         = textedit.cpp \
                  main.cpp
RESOURCES += textedit.qrc
build_all:!build_pass {
    CONFIG -= build_all
    CONFIG += release
}
EXAMPLE_FILES = textedit.qdoc
# install
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/richtext/textedit
INSTALLS += target