Removing dependency for mingwm10.dll & libgcc_s_dw2.dll
I downloaded Qt SDK a while ago and I've got a little question: Is it possible to remove mingwm10.dll & libgcc_s_dw2.dll dependency by statically linking them and keeping the Qt DLL's dynamically linked?
If so, how? Are there any disadvantages?
Thanks in advance!
If you have build the Qt library using MinGW or you have downloaded an already built version that has been built with MinGW, then you will need these libraries. If you have built/donwloaded the MSVC version then you will need the MSVC redistributable. The files above are the MinGW redistributables and you need them. You will need to deploy these files along with your executable the same way you will need to deploy the msvcpX.dll and msvcrX.dll (X is the MSVC version) if building with MSVC.
You can only link the mingw redist. stuff statically, if you also use Qt statically linked. Otherwise the Qt dll do not find the stuff out of that libs.
[quote author="Gerolf" date="1351065253"]You can only link the mingw redist. stuff statically, if you also use Qt statically linked. Otherwise the Qt dll do not find the stuff out of that libs.[/quote]
Alright, thank you for your answer! :)