sriks
sriks

Reputation: 593

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

also what is .pro in Qt 4.7 and is it the same as doing in Visual studio

Upvotes: 5

Views: 6959

Answers (2)

Stefan
Stefan

Reputation: 181

QtWebApp is a HTTP 1.1 server based on QTcpServer. It supports GET and POST method, file uploads, cookies and sessions.

Upvotes: 3

ismail
ismail

Reputation: 47592

You should use QTcpServer , check this example.

Upvotes: 6

Related Questions