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

Variable in working directory not evaluated during run

    XMLWordPrintable

    Details

    • Platform/s:
      Windows
    • Commits:
      71e6e30dbf9dbeaaeeeec10d8d0887fd8d8ead08 (qt-creator/qt-creator/6.0)

      Description

      Using variables like %{ActiveProject:BuildConfig:Path} or %{buildDir} in the working directory field of a run configuration does not work anymore.

      Hovering over the field with a variable shows the correct path in a tooltip, but when trying to start the build executable, it fails with the message: "Failed to start program. Path or permissions wrong?"

      Activating the "Run in terminal" option indicates that the variable is not replaced: "Cannot change to working directory "%{ActiveProject:BuildConfig:Path}""

        Attachments

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

          Activity

            People

            Assignee:
            kandeler Christian Kandeler
            Reporter:
            voodoo66 Voodoo Master
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes