Is there a project that allows me to convert a Qt project (one MainWindow, a simple GUI) to somehting that can run on a browser? I'd think there's nothing technical that prevents this from happening.
I programmed an annotation tool in Qt but on second thought it would have been much better if it run on a browser, though I don't know zip about Javascript.
It may not work magically, but are there any helpers at least towards this goal?
It is not exactly the same but the Wt C++ Toolkit offers you an API which I find quite similar to the Qt one. Perhaps converting your project to Wt might be quite easy!
Wt makes your application a specialized HTTP server (or perhaps a FastCgi application).
QtWui is a module for Qt that enables you to write web applications just like you where writing a standard desktop GUI application with QtGui. It comes with a simple web server that runs the application. In the future it will also be possible to use an external web server that supports FastCGI.
General principle
The idea behind QtWui is that each connected user opens a new session on the server and this session is like a standard application process on a desktop computer. Each session has a lifetime that can be configured. If no user action occurs before the end of the session lifetime, it is destroyed.
Internal machinery
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With