Qt 5.11 | Qt Widgets | Code Editor Example | codeeditor.pro Example File

Qt 5.11.3 Reference Documentation

# codeeditor.pro Example File

widgets/codeeditor/codeeditor.pro

      QT += widgets

      HEADERS     = codeeditor.h
      SOURCES     = main.cpp \
                    codeeditor.cpp
      # install
      target.path = $$[QT_INSTALL_EXAMPLES]/widgets/widgets/codeeditor
      INSTALLS += target