Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Problem: "This application has failed to start because the application..."
QtWS25 Last Chance

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

Scheduled Pinned Locked Moved General and Desktop
7 Posts 3 Posters 8.8k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    RSousa
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • G Offline
      G Offline
      giesbert
      wrote on last edited by
      #2

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

      Nokia Certified Qt Specialist.
      Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

      1 Reply Last reply
      0
      • G Offline
        G Offline
        goetz
        wrote on last edited by
        #3

        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.

        http://www.catb.org/~esr/faqs/smart-questions.html

        1 Reply Last reply
        0
        • R Offline
          R Offline
          RSousa
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          • G Offline
            G Offline
            giesbert
            wrote on last edited by
            #5

            [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!

            Nokia Certified Qt Specialist.
            Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

            1 Reply Last reply
            0
            • R Offline
              R Offline
              RSousa
              wrote on last edited by
              #6

              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

              1 Reply Last reply
              0
              • G Offline
                G Offline
                giesbert
                wrote on last edited by
                #7

                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.

                Nokia Certified Qt Specialist.
                Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved