[Qt-interest] Qt 4.5.x debug, VC9 and Windows SDK. exe will not run

David Ching dc at remove-this.dcsoft.com
Mon Aug 3 21:00:12 CEST 2009


"wwp" <subscript at free.fr> wrote in message 
news:h568qn$taj$1 at eple.troll.no...
> I cannot run any .exe built on top of this Qt lib (whatever a tiny C++
> sample or Qt's assistant.exe), once the .exe is copied onto another
> machine but the dev. machine, it won't run even if the Qt debug
> libraries and VC9SP1's *debug* libraries are copied where the .exe
> resides.
>
> Attempting to run the .exe gives the famous error:
> "The application has failed to start because the application configuration
> is incorrect. Reinstalling the application may fix the problem."
>
> Within Dependency Walkers, the .exe shows correct deps to VC9SP1-debug
> libs.
>

Microsoft last week released what is essentially a service pack for Visual 
Studio 2005/2008.  It is the security update KB971090.  What isn't made 
clear is this update changes the CRT version of Visual Studio.  So if you 
rebuild your .exe, it will use the new CRT, yet the previously built Qt 
DLL's use the old .exe.  You must rebuild your Qt DLL's with this update, 
which changes the version of the CRT DLL's.

Perhaps you can also use the SxSTrace.exe debug utility to log exactly what 
isn't being loaded.

-- David




More information about the Qt-interest-old mailing list