Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[Solved]Accessing Qt Application from Lan
We developed an application with Qt Creator, it is working fine. We would like to make that application accessible from Lan like Client Server architecture. Can anyone help on this...?
Thanks in advance...
That is way too broad a definition of the problem. How do you want to access the app? Do you want to use SOAP, or RPC, plain HTML, or maybe some other beast, like custom protocol?
In any case, the a look at "QNetworkAccessManager":http://qt-project.org/doc/qt-5.0/qnetworkaccessmanager.html.
Rahul Das last edited by
Welcome to the dev net.
You can start with network "examples":http://doc.qt.nokia.com/4.7-snapshot/examples-network.html..
Thank you for your replay.
We have developed that application with QMainWindow. We want to make the .exe file (which is in centralized system) accessible in Lan. i.e., the client should able to execute the project from his system. I don't know what type of protocol to use..
andre last edited by
Ah, so you just want to dump the .exe file on the network. Then, make sure that you put all the needed libraries right next to it. See the "documentation on deploying":/doc/qt-4.8/deployment-windows.html a Qt application.
prabuqt: Having an application on an network share does not make it client/server:-)
[quote author="Andre" date="1347003641"]Ah, so you just want to dump the .exe file on the network. Then, make sure that you put all the needed libraries right next to it. See the "documentation on deploying":/doc/qt-4.8/deployment-windows.html a Qt application.[/quote]
Thank you for your replay. The problem was solved by dumping .exe file on the network. Thank you very much.