Syntax Highlighter Example | Qt Widgets 5.13.0

Qt 5.13 | Qt Widgets | Syntax Highlighter Example

Qt 5.13.0 Reference Documentation

# Syntax Highlighter Example

      QT += widgets
      requires(qtConfig(filedialog))

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

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