[Qt-interest] Missing DLLs in Qt SDK
Oliver.Knoll at comit.ch
Oliver.Knoll at comit.ch
Thu Dec 17 14:07:43 CET 2009
Colin Kern wrote on Thursday, December 17, 2009 6:48 AM:
> ...
> ran it, it said that mingwm10.dll was missing. I searched my
> computer and this file was not anywhere on it. I discovered that in
> previous version of the SDK, it was installed. After copying this
> file onto my computer, running my program still failed, now saying
> libgcc_s_dw2-1.dll is missing. I couldn't find this file, even in a
> previous version of the SDK.
These two DLLs are located here:
C:\Qt\2009.05\mingw\bin\mingwm10.dll
C:\Qt\2009.05\mingw\bin\libgcc_s_dw2-1.dll
This is from the latest install of the Qt SDK, with Qt Creator 1.3 and Qt 4.6. They were indeed part of the binary SDK download.
When you distribute your application - or want to run it by double-clicking on your *.exe from within File Explorer, for example - you need to manually (or in whatever other ways) copy these DLLs into the application directory. Also refer to http://doc.trolltech.com/4.6/deployment-windows.html#application-dependencies
When you run your app from within Qt Creator (debugging) however I think these MinGW DLLs are already in the PATH. I don't remember having to copy them into my application directory while I was debugging.
Cheers, Oliver
--
Oliver Knoll
Dipl. Informatik-Ing. ETH
COMIT AG - ++41 79 520 95 22
More information about the Qt-interest-old
mailing list