View Full Version : "This application failed to start because the configuration...." problem

20th November 2007, 18:12
I'm building an app with Qt 4.3.2 on Vista with VS 2005 SP1.

On the local machine it runs fine. On some virgin (non-Qt installed) XP machines it runs fine also. However on some XP machines I get the error "The Application has failed to start because the application configuration is incorrect."

I have done the following:

1. Included the necessary Qt DLLs in my folder (QtCore4.dll and QtGui4.dll)
2. Included the necessary VCRT files (msvcp80.dll and msvcr80.dll)
3. Confirmed the manifest file is being embedded in my app (according to these instructions http://doc.trolltech.com/4.2/deployment-windows.html#visual-studio-2005 )
4. Tried copying the entire Microsoft.VC80.CRT folder in with my app.
5. Confirmed with DEPENDS.exe that all of the necessary DLLs are available.
6. Tried using "CONFIG += embed_manifest_exe" in my .pro file

I'm out of ideas to try next.

Anyone have any suggestions?

20th November 2007, 20:01
I'd try installing "Microsoft Visual C++ 2005 SP1 Redistributable Package".

20th November 2007, 21:00
That did the trick!

For anyone looking for it, its available here:


I'd try installing "Microsoft Visual C++ 2005 SP1 Redistributable Package".