通过网络运行Qt应用程序 [英] Running a Qt app over the web
问题描述
我正在使用Qt编写应用程序,并希望尝试将其部署为Web应用程序。我希望用户能够通过Web浏览器访问我的应用程序。我猜这是一个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.
编辑:如果我在Linux服务器上部署我的应用程序,通过终端访问/运行它?我认为编写Web应用程序将比我原来想象的更复杂。
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.
推荐答案
如果你有一个Qt应用程序,那么你可以做的最好的是使用Qt 5并运行它使用vnc平台插件。然后使用基于网络浏览器的vnc客户端进行连接。对于许多用途它可能是足够的,并且肯定比编码网络应用程序更省力。
If all you have is a Qt application, then the best you can do is use Qt 5 and run it using 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.
这篇关于通过网络运行Qt应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!