Pb xecuting on windows (seven or xp) built on 5.1
I build a project with a simple windows shown with 5.1 using msvc 2010.
i run the vcredist_sp1.
However when i try to install and run on another machine where Qt is not installed, it does not work.
(i put all the .dll which are in the C:\Qt\Qt5.1.0\5.1.0\msvc2010\bin folder in the same folder than the .exe. )
It may be one dll that i forget....
Does someone have a clue ?
Well, it actually should pop up a dialog that tells you what dll is missing.
There is the tool "dpendencywalker":http://www.dependencywalker.com/ that can give you some insight into missing dlls.
Google with "deploy qt applications" brings up a ton of helpful places. I found "this":https://qt-project.org/doc/qt-5.0/qtdoc/deployment-windows.html and "this":https://lemirep.wordpress.com/2013/06/01/deploying-qt-applications-on-linux-and-windows-3/
Not exacly all the dlls in the "bin" folder are required for your application. You are probably missing the "plugins". But a better way to approach this is to use a "qt.conf file as described here.":https://qt-project.org/doc/qt-5.0/qtdoc/qt-conf.html
Did you read the "deployment documentation":http://qt-project.org/doc/qt-5.0/qtdoc/deployment-windows.html ?
thank you for your answers, i didn't get the point thought.
I've also never built any staticall Qt since i use the given installer.
The deployment guide explains where to put what dependencies of your application (thinking of the platform plugin and the others)