KSyntaxHighlighting Installation Instructions

Download

git clone git://anongit.kde.org/syntax-highlighting.git

Usage

CMake:

find_package(KF5SyntaxHighlighting)
target_link_libraries(yourapp KF5::SyntaxHighlighting)

QMake: 

QT += KSyntaxHighlighting 

Browse Source

KSyntaxHighlighting on cgit.kde.org