Cannot find libgcc_s_seh-1.dll after windeployqt
-
Hi, ok a 32-bit version of libgcc_s_seh-1.dll should exist somewhere on your PC since your program works fine when you start it in Qt Creator.
You can try downloading ListDLLs from Sysinternals, start your program in Qt Creator, open a CMD window and run listdlls in it.
In the list of DLLs should be the path to where the 32-bit version of ibgcc_s_seh-1.dll is on your PC. -
Hi, 0xc000007b means there's a mixup of 32-bit and 64-bit .dlls, so instead try copy libgcc_s_seh-1.dll from Qt\5.15.2\mingw81\bin (i.e. the 32-bit version of MinGW).
@hskoglund Has been copied this dll, then occurs 0xc000007b.
-
Hi, even if you copy it from Qt\5.15.2\mingw81_32\bin (and not from Qt\5.15.2\mingw81_64\bin)?
*Edit": I forgot that the 32-bit MinGW installation is called mingw81_32 and not just mingw81, sorry
@hskoglund Tks, there is no such file in 32-bit, but in 64-bit.
-
Hi, ok a 32-bit version of libgcc_s_seh-1.dll should exist somewhere on your PC since your program works fine when you start it in Qt Creator.
You can try downloading ListDLLs from Sysinternals, start your program in Qt Creator, open a CMD window and run listdlls in it.
In the list of DLLs should be the path to where the 32-bit version of ibgcc_s_seh-1.dll is on your PC. -
Hi, ok a 32-bit version of libgcc_s_seh-1.dll should exist somewhere on your PC since your program works fine when you start it in Qt Creator.
You can try downloading ListDLLs from Sysinternals, start your program in Qt Creator, open a CMD window and run listdlls in it.
In the list of DLLs should be the path to where the 32-bit version of ibgcc_s_seh-1.dll is on your PC.@hskoglund Solved. I found that it is okay to copy all the dependencies in mingw81_64 directly, and then slowly delete some unnecessary ones.