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

John McClurkin jwm at nei.nih.gov
Mon Aug 3 14:07:42 CEST 2009


wwp wrote:
> Hello there,
> 
> 
> I get troubles with a Qt 4.5.1 debug library built from the sources
> using VC9 (MSVC 2008 sp1) and Windows SDK (6.1).
> 
> 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.
> 
> I don't get such problems w/ the Qt library built in the same
> conditions but in RELEASE mode (of course provided that the VC9sp1's
> redist DLLs are installed). I was not facing such problems w/ Qt 3.3.x
> (VC8sp1/PSDK).
> 
> Common issues found while google'ing didn't help fixing it up. Adding
> _BIND_TO_CURRENT_VCLIBS_VERSION=1 to the defines of the QMAKESPEC
> before building Qt didn't.
> 
> I can't get a clue about what is wrong w/ that debug build of Qt lib..
> 
> Any help?
> 
> 
> Regards,
> 

I am using Visual Studio 2005, not 2008, but in the Deployment Examples 
section of the documentation, it states that redistributing debug VC++ 
is not permitted by the EULA. Perhaps your difficulty arises from that 
prohibition.



More information about the Qt-interest-old mailing list