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

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • None
    • Qt Creator 4.6.1
    • 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

              hunger Tobias Hunger
              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