Problem: "This application has failed to start because the application..."



  • Hello,

    I'm using Qt 4.7 with Visual Studio 2005.
    I've built but when I run the executable, I received this messenge bellow.

    "This application has failed to start because the application
    configuration is incorrect. Review the manifest file for possible errors.
    Reinstalling the application may fix this problem."

    Can you help me?

    Thank you very much

    all the best

    Ricardo Sousa



  • I think the redistributables of MSVS 2005 are not installed...



  • If you're running this on your development machine, copy the needed Qt DLLs (QtCore, QtGui, probably more) into the directory where your exe lives.



  • Thank you very much for your answers!:)

    The redistributables of VS 2005 are installed...

    and with Dependencies Walker program I realized that the DLL were missing but I copied to directory but it didn´t fixed ... (Actually there is a missing dll which is msjava.dll that I can´t find anyhere in my PC)

    There is another detail...

    I´m using VS 2005 Express and I've used the libraries of VS 2008 of Qt libraries 4.7.1 for Windows.I'm not sure if this is correct since I´ve heard that can be used in the VS 2005.

    Thank you very much

    All the best

    Ricardo Sousa



  • [quote author="RSousa" date="1296654421"]There is another detail...

    I´m using VS 2005 Express and I've used the libraries of VS 2008 of Qt libraries 4.7.1 for Windows.I'm not sure if this is correct since I´ve heard that can be used in the VS 2005.
    [/quote]

    That will not work. You have to use the libraries build with one MSVS compiler version.
    All with MSVS2005 OR 2005 SP1 OR 2008 OR 2008 SP1 OR 2010 as all these compilers bring own msvcrt.dll versions, which implement the C runtime and therefore the heap.

    If you use 2005, you must use Qt compiled with 2005!



  • Ok, that must be the reason then...

    But how can I compile Qt 4.7 with VS2005?... I can´t find the source code of Qt 4.7.

    I really thank you Gerolf.

    All the best

    Ricardo Sousa



  • If you download the source zip from "here":http://qt.nokia.com/downloads , you have it :-) Its the small link in the text.

    Aditionally, if you downloaded a binary package, it also contains the complete source code.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.