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

Qt 5.6.2 Reference Documentation

# textedit.pro Example File

richtext/textedit/textedit.pro

      QT += widgets
      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