entry point _Zst_throw_bad_array_new_lengthv could not be located in c:\....Qt6Core.dll"
-
this msg came after release compile on mingw and running windeployqt on the exe in a directory containing only the exe, and trying to run the exe by double-clicking on it:
Got this msg after release compile on mingw64 and running windeployqt on the exe in a directory with just the exe, then trying to run the exe by double-clicking on it:
"The procedure entry point _Zst_throw_bad_array_new_lengthv could not be located in the dll c:....Qt6Core.dll"Program (my first Qt program) ran just fine in the debugger. Please help. Thanks
windeployqt did place several .dll files into this directory and gave convincing console messages while it was working.
-
@BillyS There were a few programs named windeployqt.exe, located in different directories, left over from past installations that hadn't gotten past running in the debugger.
It appears that only the instance that matches the particular toolchain that i used to compile and link the program, is able to make a free-standing executable that will work.
When i made sure to execute the windeployqt.exe in the same directory as my compiler, the resulting executable worked as expected. In my case that was in C:\Qt\6.7.0\mingw_64\bin.
-
At https://forum.qt.io/post/797309 I have a post showing how to collect the dependencies manually.
windeployqt
should do that for you, but you can find out yourself.