Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Qt Creator... During startup program error.

    Tools
    6
    6
    36883
    Loading More Posts
    • 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
      MWPau last edited by

      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 Reply Quote 0
      • P
        Pavanesh last edited by

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

        1 Reply Last reply Reply Quote 0
        • U
          ulesQt last edited by

          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 Reply Quote 2
          • V
            Vadixem last edited by

            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 Reply Quote 2
            • H
              HeCa last edited by

              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. Rogina 1 Reply Last reply Reply Quote 0
              • Pablo J. Rogina
                Pablo J. Rogina @HeCa last edited by

                @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 Reply Quote 3
                • First post
                  Last post