Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Problem running app inside Qt Creator
Forum Updated to NodeBB v4.3 + New Features

Problem running app inside Qt Creator

Scheduled Pinned Locked Moved Installation and Deployment
6 Posts 2 Posters 1.7k Views 1 Watching
  • 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.
  • M Offline
    M Offline
    modenesib
    wrote on last edited by
    #1

    When I build my project inside Qt Creator I get this error message:

    bq. Starting C:\Users\Martín\Documents\Qt\build-Anagrama-Desktop-Release\release\Nameproject.exe...
    The program has unexpectedly finished.
    C:\Users\Martín\Documents\Qt\build-Anagrama-Desktop-Release\release\Nameproject.exe exited with code -1073741511

    The weird thing is that I can run the app outside Qt, clicking directly on the .exe generated.
    I already looked around and everybody has the oposite problem!

    I wanted to know what parameters should I check for this to get solved.

    • Tool/options?
    • System path?
    • ...

    I'm using Qt Creator 2.7.1
    Based on Qt 4.8.4 (32 bit)
    MinGw 4.4.0
    Windows 7 64 bits

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Check the PATH variable content in the Run section of the Project panel

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • M Offline
        M Offline
        modenesib
        wrote on last edited by
        #3

        I see, thank you. What should I look for?

        I have two mingw versions installed. Should I delete the one that Qt isn't using?

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          That would be better yes, having several mingw installation usually ends up in problems in this case

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • M Offline
            M Offline
            modenesib
            wrote on last edited by
            #5

            Thanks SGaist, but it dindn´t work... I think I'll keep opening my apps by clicking on the .exe generated...

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Since you removed the other mingw, you should erase the project.pro.user in your source directory and reconfigure your project from scratch. Your environment might have changed but it's not been reflected on your project.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              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