textedit.pro Example File | Qt Widgets 5.12.9

- Qt 5.12
- Qt Widgets
- Text Edit
- textedit.pro Example File
- Qt 5.12.9 Reference Documentation

# 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