How can I develop and host web application using Qt ?
-
I advise you look for a different framework/ programming language. C++ and Qt are not really useful for writing web pages, unless you are a masochist. The only thing that can be vaguely useful for you here, is the QmlWeb project.
Things you can check out instead:
- Ruby on Rails
- Python
- (yuck!) PHP
- Joomla!
- etc.
-
I am actively developing QtWebServer for what you want to do:
https://github.com/cybercatalyst/qtwebserverSee examples here:
https://github.com/cybercatalyst/qtwebserver-examples -
Have a look at the treefrog framework: http://www.treefrogframework.org/
You might also have a look at http://cppcms.com or my favourite: http://pocoproject.org/ but they are not really mixed with Qt, but as always with c++ you can use Qt with them.
I have made several web projects in c++ and i am not a masochist... unfortunately there is no known c++11 or higher framework right now - which would make c++ an even better solution for web projects, but modern c++ is not less suitable then any other language for web development. Actually i think you must be a masochist to develop web projects in PHP ;)
edit i just remembered: cppcms requires a commercial license when you want to develop closed source software, its ok for open source... at least this was the situation last time i checked.
-
Well, this is a two year old thread, so the original poster has probably solved their issue, but if someone really wants to do web pages with Qt, there is the silk framework from the Japanese Qt users group:
https://github.com/qt-users-jp/silk