Application crash when it run with Qt creator but works after "deploy"
-
Just to be sure we are on the same line:
- You build your application
- You copy the DLL in the build folder
- You call run from Qt Creator
- Crash ?
-
Strange⦠Does hidapi.dll have any dependency ?
-
I found the problem. The difference between "deploy" folder and project folder is : msvcr120d.dll. If I add this dll on project folder, it works.
Thank you for your help@helenebro
actually the msvc runtime binaries should also be available system wide (e.g. contained in the PATH), so something went wrong during installation. Or do you have altered the environment variables in the QtCreator project settings? -
Hi, msvcr120dl.dll usually you will only obtain by installing Microsoft Visual Studio 2013. Because it's the debug flavor of the normal msvcr120.dll, and that dll is much more easy to find.
Try building your app in Release mode, then you might get rid of your dependency on msvcr120d.dll.