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

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