This example shows how to create a http server by inheriting QTcpServer.
The above image is of the application. The html written in the text edit will be published by the server and can be viewed at http://localhost:8080.