[Qt-interest] Missing DLLs in Qt SDK

Oliver.Knoll at comit.ch Oliver.Knoll at comit.ch
Fri Dec 18 11:07:28 CET 2009


Colin Kern wrote on Friday, December 18, 2009 12:14 AM:

> ...  I added
> C:\Qt\2009.05\qt\bin to my path, and now my program runs.

In general, "Dependency Walker" is your friend here, too: http://www.dependencywalker.com (I think it is included in the Visual Studio suite as well, but not sure about the 'Express' version).
   

> 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.

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.

Good luck,
  Oliver
-- 
Oliver Knoll
Dipl. Informatik-Ing. ETH
COMIT AG - ++41 79 520 95 22



More information about the Qt-interest-old mailing list