February 6, 2011

Volker Volker
Ant Farmer
5428 posts

Qt HTTP server

 

KodeClutz [kodeclutz.blogspot.com] just published a blog entry praising an HTTP server written completely with Qt:

QHttpServer: Web Apps in Qt
Qt is a great GUI toolkit, but it is also an entire C++ standard library waiting to be used for other tasks. In addition the network module is really powerful. I’ve been playing around with node.js for a while now, and realized that Qt’s default asynchronous nature maps over perfectly to create a event-based web server. To make things better, Ryan Dahl’s small and fast http-parser is freely available. So I just combined the two, and here is QHttpServer.

You can find the entire blog post on http://kodeclutz.blogspot.com/2011/02/qhttpserver-web-apps-in-qt.html the sources are on github [github.com].

8 replies

February 7, 2011

Deleted Member # 4a2 Deleted Member # 4a2
Ant Farmer
1481 posts

thanks volker, was looking for server.. see this thread here [developer.qt.nokia.com] … will give this a shot for my pet project but on hold now.. past few weeks :(

February 8, 2011

Luca Luca
Ant Farmer
639 posts

Thanks,
very interesting project.

May 2, 2011

s.frings s.frings
Lab Rat
40 posts

If you are searching for a Qt based HTTP server, try out QtWebApp, which contains such a library plus an example application.

The library support persistent connections as well as cookies and file-uploads. Usage is a simple as Java servlets.

http://stefanfrings.de/qtwebapp/index-en.html

February 25, 2012

msscba msscba
Lab Rat
9 posts

another option is tufão at: http://code.google.com/p/tufao/

March 2, 2012

msscba msscba
Lab Rat
9 posts

more three options:

1. http://www.webtoolkit.eu/wt
2. http://cppcms.com/wikipp/en/page/main
3. http://gwan.com/

September 6, 2013

antonio antonio
Lab Rat
49 posts

Hi,
I tried to compile QHttpServer on Windows and I had problems like this:

..\build\moc_qhttpconnection.cpp(50) : warning C4273: ‘QHttpConnection::qt_stati
c_metacall’ : vinculación de DLL incoherente

“dll entailment inchorente”

September 11, 2013

antonio antonio
Lab Rat
49 posts

I have tried successfully with QtService from QtSolutions:

QtService [qt.digia.com]

December 31, 2013

foxgod foxgod
Ant Farmer
100 posts

antonio wrote:
Hi,
I tried to compile QHttpServer on Windows and I had problems like this:

..\build\moc_qhttpconnection.cpp(50) : warning C4273: ‘QHttpConnection::qt_stati
c_metacall’ : vinculación de DLL incoherente

“dll entailment inchorente”

how to write http client and http server .thank you

 
  ‹‹ New Qt Mobility GeoServices plugin: Cloudmade      [ANN]QtitanRibbon beta1 has been released! ››

You must log in to post a reply. Not a member yet? Register here!