Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Creator... During startup program error.
Forum Updated to NodeBB v4.3 + New Features

Qt Creator... During startup program error.

Scheduled Pinned Locked Moved Qt Creator and other tools
6 Posts 6 Posters 37.8k Views 2 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
    MWPau
    wrote on last edited by
    #1

    Hi all,

    Have been developing my app in Qt for a month or so now.
    Has been all going trouble free up until now.

    On trying to run my app as Debug from inside Qt Creator (ver 2.0.1) i get the error:
    Executable failed: During startup program exited with code 0xc0000135.

    After clicking OK, nothing happens, and i have to abort debugging, where i get the error:
    Unexpected GDB exit: The gdb process exited unexpectedly (crashed).

    Nothing has changed in my app code that should cause any problems like this.
    Anyone know whats going on here?

    Thanks in advance!

    1 Reply Last reply
    0
    • P Offline
      P Offline
      Pavanesh
      wrote on last edited by
      #2

      I hope "this":http://www.eclipse.org/forums/index.php?t=msg&th=167210&start helps

      1 Reply Last reply
      0
      • U Offline
        U Offline
        ulesQt
        wrote on last edited by
        #3

        That happened to me when I accidentally deleted a dll library that my app uses. The compilation stage didn't fail because the .a and the .lib files were present, as the linking was dynamic the was no error until the app tries to run. So just undeleting the .dll file, the app worked again ;)
        Hope this is useful

        1 Reply Last reply
        2
        • V Offline
          V Offline
          Vadixem
          wrote on last edited by
          #4

          The problem is definitely with some missing dll(s)! I've found out that when I put dll's directly into folder(for instance png3.dll) with executable and then running it from qt creator it will run!! What I did: in your output directory(where executable lies) you open your executable(double click), Windows shows dll names that are missing. You find them and copy directly into the folder. Then run app from Qt creator! You should succeed if dlls are suitable. After that you try removing dlls from the exec folder and run app through qt creator till the moment it throws error again. This way you find the missing dll. After that you add the path to dll in qt creator "projects" settings in "build environment" into "Path" variable.

          1 Reply Last reply
          2
          • H Offline
            H Offline
            HeCa
            wrote on last edited by
            #5

            For me the missing file was libusb-1.0.dll. Too bad there is not a better error message as there normally is for missing DLL's.
            In linus using the "LDD" program makes you a list of all DLL's used and is missing the path is blank.
            On windows there does exist similar functions.

            Pablo J. RoginaP 1 Reply Last reply
            0
            • H HeCa

              For me the missing file was libusb-1.0.dll. Too bad there is not a better error message as there normally is for missing DLL's.
              In linus using the "LDD" program makes you a list of all DLL's used and is missing the path is blank.
              On windows there does exist similar functions.

              Pablo J. RoginaP Offline
              Pablo J. RoginaP Offline
              Pablo J. Rogina
              wrote on last edited by
              #6

              @HeCa said in Qt Creator... During startup program error.:

              On windows there does exist similar functions

              On Windows you may want to look at Dependency Walker tool.

              Upvote the answer(s) that helped you solve the issue
              Use "Topic Tools" button to mark your post as Solved
              Add screenshots via postimage.org
              Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

              1 Reply Last reply
              3

              • Login

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