How to run my application on web browser
-
Hi every One , I am new to Qt,I have developed one application using QtWidget.
It is working well in LAN ,But it is not working when i Hosted my in my Global server.
I want to make my application as WebBased.
Can any One Help me in this?
Thanks in Advance! -
Unfortunately, you can't do that. Qt is NOT a browser-based library.
Every browser have their own API. You may try looking into mozilla, etc. but AFAIK you can only code them with scripting languages (javascipt, etc.). So you need to start from scratch again.
My solution for your problem, although you may need more efforts to add, is by using Qt networking libraries like QTcp, QUdp. I tried to code once using QTcpServer for my server app and using QTcpSocket for my client.
-
Try merging Qt with "Wt":http://www.webtoolkit.eu
in examples from Wt present wtwithqt project. -
Hi qxoz, the Link which u had given is not opening. The exact link which qxoz stated is given here, "Wt:: An Introduction":http://www.webtoolkit.eu/wt also have a look at this link "Qt Creator Wt Application":http://www.sptci.com/docs/cpp/wtProject.html.
Thanks & Regards..
-
Thank you Riz,
I apologize for the inattentiveness :) -
Your Welcome qxoz. All d Best.. Happy coding.. :-)
-
Hi
I have my project in QT i want to convert it to web i had followed the "link":http://www.sptci.com/docs/cpp/wtProject.html but unfortunately not able to execute.. cannot figure out what is wrong Please help. Thanks
-
What do you mean by convert it to web?
Qt is not a web-based framework. There are methods to interact wit webkit, but u can not just convert a whole app into a web-based version..
Can you clarify your question?
-
Not sure if this is what you want, but check this out: "link":http://badassjs.com/post/43158184752/qt-gui-toolkit-ported-to-javascript-via-emscripten
My basic understanding is that it somehow converts your program to JS, but I'm not sure. -
I have my project in QT i want to convert it to web i had followed the link [sptci.com] but unfortunately not able to execute.. cannot figure out what is wrong Please help. Thanks
modbreak: removed backlink spam. It's off topic, Andre.