I have a program written in C++ which is compiled with Visual Studio 2013. It also uses Qt5. I can start the program from Visual Studio (debug/release), but if I try to start the .exe file outside of VS nothing happens. My assumption was that it's missing DLL files. According to "dumpbin /dependents" I need these DLLs:
File Type: EXECUTABLE IMAGE
Image has the following dependencies:
Qt5OpenGL.dll Qt5Gui.dll Qt5Widgets.dll Qt5Core.dll MSVCP120.dll MSVCR120.dll KERNEL32.dll SHELL32.dll
I have those lying in the same directory as the .exe file. I copied msvcp120.dll and msvcr120.dll from "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\redist\x86\Microsoft.VC120.CRT" and the Qt5 DLLs from "C:\Qt\5.4\msvc2013\bin".
What am I doing wrong? I'm new to C++, so I'm probably missing some knowledge here.