Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Showcase
  4. Qt HTTP server
Forum Update on Monday, May 27th 2025

Qt HTTP server

Scheduled Pinned Locked Moved Showcase
10 Posts 7 Posters 34.7k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    goetz
    wrote on 6 Feb 2011, 14:20 last edited by
    #1

    "KodeClutz":http://kodeclutz.blogspot.com/ just published a blog entry praising an HTTP server written completely with Qt:

    bq. 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":https://github.com/nikhilm/qhttpserver.

    http://www.catb.org/~esr/faqs/smart-questions.html

    N 1 Reply Last reply 21 Jul 2015, 17:39
    0
    • ? This user is from outside of this forum
      ? This user is from outside of this forum
      Guest
      wrote on 7 Feb 2011, 10:38 last edited by
      #2

      thanks volker, was looking for server.. see this thread "here":http://developer.qt.nokia.com/forums/viewthread/854/ ... will give this a shot for my pet project but on hold now.. past few weeks :(

      1 Reply Last reply
      0
      • L Offline
        L Offline
        luca
        wrote on 8 Feb 2011, 07:20 last edited by
        #3

        Thanks,
        very interesting project.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          s.frings
          wrote on 2 May 2011, 18:31 last edited by
          #4

          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

          1 Reply Last reply
          0
          • M Offline
            M Offline
            msscba
            wrote on 25 Feb 2012, 02:11 last edited by
            #5

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

            1 Reply Last reply
            0
            • M Offline
              M Offline
              msscba
              wrote on 2 Mar 2012, 09:25 last edited by
              #6

              more three options:

              1. http://www.webtoolkit.eu/wt
              2. http://cppcms.com/wikipp/en/page/main
              3. http://gwan.com/
              1 Reply Last reply
              0
              • A Offline
                A Offline
                antonio
                wrote on 6 Sept 2013, 16:48 last edited by
                #7

                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"

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  antonio
                  wrote on 10 Sept 2013, 22:42 last edited by
                  #8

                  I have tried successfully with QtService from QtSolutions:

                  "QtService":http://qt.digia.com/Product/Qt-Add-Ons/Qt-Solutions-Archive/

                  1 Reply Last reply
                  0
                  • F Offline
                    F Offline
                    foxgod
                    wrote on 31 Dec 2013, 09:43 last edited by
                    #9

                    [quote author="antonio" date="1378486120"]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"[/quote]

                    how to write http client and http server .thank you

                    1 Reply Last reply
                    0
                    • G goetz
                      6 Feb 2011, 14:20

                      "KodeClutz":http://kodeclutz.blogspot.com/ just published a blog entry praising an HTTP server written completely with Qt:

                      bq. 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":https://github.com/nikhilm/qhttpserver.

                      N Offline
                      N Offline
                      nathan-osman
                      wrote on 21 Jul 2015, 17:39 last edited by
                      #10

                      I have just put the finishing touches on my own HTTP server implementation, QHttpEngine. The goal of the project is to produce a simple set of classes that make it easy to add an HTTP server to an existing application.

                      You could use the library to add a local API to an application, for example. QHttpEngine uses Qt's introspection facilities to expose slots from a QObject class as HTTP endpoints. The library is also capable of serving directories containing static content - even resource directories.

                      1 Reply Last reply
                      1

                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved