[Resolved] Multiple DLLs of the same name to choose from
-
Hi all,
I am in the process of getting my application ready to deploy in the windows environment (in my case XP SP3).
I am using Qt SDK 5.0.2 which is bundled with Qt Creator and Mingw47.
So my project produces a .exe file and when I run it on its own it complains that it needs various DLLs. This is normal and I am working through the list. However when I search for the required DLLs I find that some of them exist in two or more places but others do not, for example:
Qt5Cored.dll only lives:
- ...\5.0.2\mingw47_32bit\bin
icuin49.dll lives in:
- ...\5.0.2\mingw47_32bit\bin
- ...\Tools\QtCreator\bin
I am assuming that the files I want are all going to be from the mingw47 folder and that perhaps the .dlls in the QtCreator folder are QtCreators own dependencies and therefore I should ignore these.
Would I be correct in this?, any other pointers in finding the correct .dll?
Thanks,
Fodder -
In your case the appropriate Qt dlls should be taken from ...\5.0.2\mingw47_32bit\bin.
These are apparently the dlls of the toolchain you are using to produce the application. You can check this under "Projects", "Build&Run" which kit/tool chain you are using.
Note: At the time being for your installation the dlls might be identical under the listed folders. However, the folder ...\Tools\QtCreator\bin dlls are for the Qt creator itself. When adding newer tool chains those will stay the same. You may have more than one tool chain for creating your application. Therefore, you need to check the tool chain's location. -
Great, thanks for clearing that up for me! :)