A collection of plugins for adding syntax highlighting to your QTextEdit controls in your Qt applications has just been released under the name of Syntax Highlighters.
This software is a collection of Qt plugins for managing syntax highlighting. It allows you to dynamically add syntax higlighting capabilities to your Qt applications. Currently it supports syntax highlighting for qscript, C++ and xml documents.