Search code examples
c++linuxqtweb-applications

Running a Qt app over the web


I am writing an application using Qt and want to try and deploy it as a web-application. I want user's to be able to use my application by accessing it through a web browser. I'm guessing that's what a web-application is? What kind of options do I have? I've never looked into doing anything like this but I'd like to learn something new.

EDIT: What if I deployed my application on a Linux server and had users access/run it through a terminal? I think writing web application is going to be more complicated than I had originally thought.


Solution

  • If all you have is a Qt application, then the best you can do is use Qt 5 and run it using a remote visualization package:

    1. Use WebGL streaming, introduced in Qt 5.10. Qt exposes a browser-connectible interface directly, without need for third-party code.

    2. For Qt 5.0-5.9, you can use the vnc platform plugin. Then connect using a web-browser based vnc client.

    For many uses it might be sufficient, and certainly it's much less effort than coding up a web app.