I also had the same problem, and I tried with both the missing DLL messages and the Dependency Walker, and this did not help me, or I do not know if I used it correctly. The method below helped me solve (for this scenario) . This method will work in some minimal cases.
Scenario
- QT Creator 3.3.2
- QT 5.4.1 (MSVC 2010, 32 bit), Windows 8.1
- Not using dynamic dll loading
- Use third-party dll
- This is a QTWidget application.
Method (tried for both sets MinGW 32 bit and MSVC2012 OpenGL 32 bit)
- Get the exe release after creating the application. Copy and paste into another folder where we want (suppose Z: \ abc)
- Go to the installed Qt kit folder (MinGW or MSVC) (in my case: Z: \ Qt \ 5.4 \ mingw491_32 (or) Z: \ Qt \ 5.4 \ msvc2012_opengl)
- Search * .dll
- Copy the entire DLL and paste it into the exe folder. This is (z: \ abc)
- Launch the application (in my case, it started correctly).
At application startup, delete all copied DLL files.
6.1). When you remove the window will display a query for the DLL files that are used by the application (File is used) , since these libraries were loaded initially. Leave these files as they are.
6.2) And other DLL files will be deleted upon request.
- Close the application and open it (in my case, it started correctly).
- So, we got the necessary DLL files
This is not the right way, but in some cases it may help.
Note
When copying all DLLs, when you receive a message with an existing file, store both files in different names as the system makes a decision. If the application does not start, we can try with these renamed files.
source share