VCRUNTIME140_APP.dll was not found
-
I have compiled a github application for Windows, 10, 64bit, with Qt 5.12
Has compiled fine (with tons of warnings though) with Qt creator and VS2017. Anyway, when I start Release version, I got messages that missing some Qt dlls. Fine. I get a round on here and I saw that I should run windeployqt. Ok, I did that:
C:\Qt\Qt5.12.10\5.12.10\msvc2017_64>windeployqt.exe D:\Project\MyProject\build-src-Desktop_Qt_5_12_10_MSVC2017_64bit-Release\distrib\MyProject.exe --release
that put me there the need it DLLs, but when try to start my exe, I got:
The github project is also on 64bit. And I have compiled successfully on 64bit. What I have done wrong ?
-
You shouldn't need to run windeployqt or add any visual studio redistributables when you directly launch the application out of Qt creator. That should only be necessary when you deploy it. So does it run from Qt creator or do you get the missing library error there already?
-
When I try to start it from Qt Creator, I got:
09:46:35: The program has unexpectedly finished. 09:46:35: The process was ended forcefully. 09:46:35: D:\Project\MyProject\build-src-Desktop_Qt_5_12_10_MSVC2017_64bit-Release\distrib\UseCPUOpenGL.exe crashed.
and when I try to start it from Windows Explorer, MyProject.exe, I got that message from the first post.
-
@Flaviu-0
Yes, I'm not certain, but that looks like it is the actual CDB process which has unexpectedly exited (obviously making debugging impossible). Can you run it [the CDB] outside of Qt Creator? Is the previous error about VC runtime indicating you are messed up generally?