Qt 5.11 | Qt Widgets | Text Edit | textedit.pro Example File

Qt 5.11.3 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