syntaxhighlighter.pro Example File | Qt Widgets 5.6

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

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

      wince {
         addFiles.files = main.cpp mainwindow.cpp
         addFiles.path = .
         INSTALLS += addFiles
      }