I am having a strange problem with QWebKit. When I send and receive HTML data through my network, WebKit is displaying it as raw text. I admit my current network recoding is premature, but I have successfully connected to the server with an older client software and that software shows the HTML as it should.

When I setHtml from the client itself, the HTML looks as it should. The problem currently occurs only with the data being sent across the network.

FYI: I am using WebKit as part of the chat so that it is a rich text environment.

I wanted to try setContent instead of setHtml, but I am not sure how to set the mimetype. Needless to say, I am using setContent wrong.

Any pointers?