Solved Crossplatform shared build
-
I compiled a shared qt on linux for windows
everything is fine, but my program depends on libstdc++-6.dll and libgcc_s_seh-1.dl,
these libraries did not come together with qt
Where can I get them? -
Found
They lay elsewhere.andrei@quasarapp:~$ locate libgcc_s_seh-1.dll /usr/lib/gcc/x86_64-w64-mingw32/7.3-posix/libgcc_s_seh-1.dll /usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/libgcc_s_seh-1.dll
-
Those libraries are from the compiler. Typically there is a lib folder in the compiler folder which holds the library stubs as used for linking on windows and the dlls.
-
@koahnig
in the folder with the compiler there is only one libraryandrei@quasarapp:/usr/x86_64-w64-mingw32/lib$ ls | grep *.dll libwinpthread-1.dll andrei@quasarapp:/usr/x86_64-w64-mingw32/lib$ ls | grep std libstdprov.a andrei@quasarapp:/usr/x86_64-w64-mingw32/lib$ ls | grep gcc andrei@quasarapp:/usr/x86_64-w64-mingw32/lib
-
Found
They lay elsewhere.andrei@quasarapp:~$ locate libgcc_s_seh-1.dll /usr/lib/gcc/x86_64-w64-mingw32/7.3-posix/libgcc_s_seh-1.dll /usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/libgcc_s_seh-1.dll