How can I develop and host web application using Qt ?
-
How can I develop website using Qt and host that website into a hosting server ? Also is there have any web hosting company for that?
-
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.
-
Thanks for your reply. But I am looking C++ for all development.
-
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.
-
This depends on what you mean by "web application". If you mean an application that can show parts of a web page in its interface as rendered HTML, like a browser - you can.
Regards,
Ben
[External link removed --JKSH] -
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