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

Creator cannot execute project because it searches in the wrong directory

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Duplicate
    • Affects Version/s: Qt Creator 4.6.1
    • Fix Version/s: None
    • Labels:
    • Environment:
      Windows 10 1709 64 bit
      MSVC2015 64 bit
      Qt 5.10.1, Qt 5.11.0 beta3

      Description

      1. Open a project you have not built yet.
      2. If needed, configure the project with multiple build configurations.
        Two build configurations with the same kit should be sufficient.
      3. Switch to a different build configuration and press Ctrl+R immediately after project parsing has finished.
        The project will be built but cannot be executed. In the Application Output view, you can see an error message like:

        Starte D:\Testprojekte\build-untitled1013-Desktop-Debug\untitled1013.exe...
        Die ausführbare Datei D:\Testprojekte\build-untitled1013-Desktop-Debug\untitled1013.exe existiert nicht.

        Indeed, the executable does not exist there because it was built in the subdirectory "debug" (or similar depending on the build configuration).

      Creator should search for the executable in the right place.

        Attachments

          Issue Links

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

            Activity

              People

              • Assignee:
                hunger Tobias Hunger
                Reporter:
                rlohning Robert Löhning
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes