Reputation: 3221
I have been reviewing how to deploy my desktop application from Qt5 Creator to a set of .dll's and an .exe. The process as documented seems ridiculously complex: http://qt-project.org/doc/qt-5.0/qtdoc/deployment-windows.html.
Please can you help me understand it better.
Just copying the .dlls found using the Dependency Walker does not work -t tells me there is a missing entry point for Qt5Core.dll, and I have tried every single version of Qt5Core.dll on my hard drive. But I digress.
Many thanks.
(I'm using Windows 7 and Qt 5.1.)
Upvotes: 3
Views: 1954
Reputation: 19102
Do I have to include all these Qt dlls with my application?
Statically linking is rare. You are probably using LGPL licensing, so you should dynamically link.
Towards the bottom of the page you mentioned in your link, it gives an example project's dll dependencies.
When looking at the release build of the Plug & Paint executable (plugandpaint.exe) with the depends tool, the tool lists the following immediate dependencies to non-system libraries:
And then it gives the chart of a bunch of dll's. Depending on the modules in your .pro file you will need different dll's and different runtime compiler dependencies.
Hope that helps.
Upvotes: 1