PDA

View Full Version : Serving HTTP Content



tntcoda
4th June 2009, 23:07
Hi,

I'm interested making my application accessible from a web browser in order to display logs, stats and reports. Probably just static HTML content.

Is there anything in Qt I can use to approach this? From looking around I get the impression that webkit and the QHTTP* classes are mostly for client related work?

Or is the best approach going to be pretty much implementing a basic HTTP server with QTCPSocket and receiving/responding to commands possibly combining this with the QHttpRequestHeader and QHttpResponseHeader classes :confused:

Thanks for any advice,

Jack

Lykurg
4th June 2009, 23:22
This may interest you also: Browser Plugin (http://www.qtsoftware.com/products/appdev/add-on-products/catalog/4/Utilities/qtbrowserplugin). (Not exactly what you want, but...)