[Qt-interest] Missing DLLs in Qt SDK

Colin Kern colin.kern at gmail.com
Fri Dec 18 22:31:45 CET 2009


On Fri, Dec 18, 2009 at 5:07 AM,  <Oliver.Knoll at comit.ch> wrote:
> Colin Kern wrote on Friday, December 18, 2009 12:14 AM:
>> However, this is when I'm launching it from Windows Explorer.  It
>> still doesn't run from Qt Creator.  When I try to run it in Qt
>> Creator, there's a message printed in the console output saying "The
>> process could not be started!"
>
> In the file explorer you seem to run the /debug/ ("Build Configuration" - right-click on the project) version of your app. Are you also running the /debug/ version in Qt Creator? If not, the dependency on QtCore4.dll (note the missing 'd', as in 'debug') might now fail.

I built the release version and tried to run it from the file
explorer.  It failed with the error "The procedure entry point
_Z5qFreePv could not be located in the dynamic link library
QtCore4.dll" so it seems to be able to find the dll, but there is a
missing symbol in it.

> But then again, it should really not be necessary to copy the additional MinGW/Qt DLLs into your app directory when running/debugging your app from within Creator, I just checked this! Maybe verify your Qt Creator Settings, the "Qt4" node: make sure it detects the proper Qt version. I would expect that this setting then also makes sure that within Qt Creator environment the proper PATH is set.

Qt Creator is detecting the correct Qt version.  I'm still unsure
whether the error I'm getting when I try to run it from Qt Creator is
the same as the dependency problems when I run it from the file
explorer.

Thanks,
Colin




More information about the Qt-interest-old mailing list