Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-462

Qt Creator looks in wrong directory for executable when debugging or executing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2: Important
    • None
    • Qt Creator 1.3.0
    • None
    • Windows 7 64-bit running on Sony VAIO AW290J laptop with 4gb memory

    Description

      Qt Creator 1.3 cannot debug or execute the target because it is looking in the wrong directory. It looks in the PROJECT directory, not in the PROJECT/debug or PROJECT/release directory which is where the default .pro file places the target

      1.Create an new Qt4 GUI app using Qt Creator and all defaults.
      2.Build All
      3. Hit F5 to debug
      4. You get a Message Box with the title: Inferior start failed, and with the message: Starting executable failed...no such file or directory, where the file it is looking for is in the PROJECT directory, not the PROJECT/debug directory, which is where the build put it.

      Workaround: Add DESTDIR = ./ to the end of the .pro file

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              dt Daniel Teske
              lel4866 Lawrence E Lewis
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes