Deploying QT network application
I am developing one QT application inside which I am providing Network communication support to a server. (using QNetworkRequest, QNetworkAccessManager, QNetworkReply for communication).
When I am trying to run the compiled exe on a fresh machine that does not have QT installed. There I need to put certain dlls(like Qt5Core.dll, Qt5Gui.dll, Qt5Widgets.dll) so that my exe executes by just double clicking.
The exe runs without providing network support. As I compile application by just writing network supported code the exe does not start.
Do I need to have any Dll that provides network support inside my deployment folder (in same way I am keeping other dlls those are necessary for gui etc)?
@jsulm thanks for ur reply. It is still not running. Is there need to provide dll for supporting XML operation. As I am using QDomDocument im my app.
in my .pro file :
QT += core gui network xml
So is there need to provide dll that will support xml operation.
@mdnchauhan Yes you need Qt5Xml.dll. You should really take a look at the Windows Deployment Tool (link I provided before) - it can help you to create a distribution of your app with all needed DLLs.
To add to @jsulm, there are also the bearer plugins to deploy. So as already suggested, take a look a look at the deployment guide and more specifically the
Thanks for your valuable suggestions. Thanks jsulm.