Qt 5.9 | Qt Widgets | Syntax Highlighter Example | syntaxhighlighter.pro Example File

Qt 5.9.9 Reference Documentation

# syntaxhighlighter.pro Example File

richtext/syntaxhighlighter/syntaxhighlighter.pro

      QT += widgets

      HEADERS         = highlighter.h \
                        mainwindow.h
      SOURCES         = highlighter.cpp \
                        mainwindow.cpp \
                        main.cpp

      # install
      target.path = $$[QT_INSTALL_EXAMPLES]/widgets/richtext/syntaxhighlighter
      INSTALLS += target