I am trying to use a QTextEdit/QTextBrowser widget to display a tagged source file produced by Doxygen or Grok. Such files contain a large number of anchors and links. It seems that QTextEdit completely chokes on such data: a ~3000 line file with roughly this number of links and anchors takes ages to load and the widget is highly unresponsive.
I have tried both Qt3 and Qt4, both display the same behaviour. I am using the setHtml() method to add the entire contents of the file at a single shot.
Am I missing something or is QTextEdit simple inadequate?

Elad