Need to create http webserver using Qt 4.7 in C++
I need to create a http web server which responds to http clients using Qt 4.7
I have gone through the API and found few servers, but how to create a http server using the API Any hints and guidance on this please....i am totally new to this 开发者_StackOverflowalso what is .pro in Qt 4.7 and is it the same as doing in Visual studio
You should use QTcpServer
, check this example
.
QtWebApp is a HTTP 1.1 server based on QTcpServer. It supports GET and POST method, file uploads, cookies and sessions.
精彩评论