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

%{CurrentProject:Path} gives the project file path instead of the project file's folder path

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 2.2.0
    • Qt Creator 2.2.0-beta
    • All Other Issues
    • None
    • PC Ubuntu
    • 5515703dc3cf7445225837f283efdbb070d1054c

    Description

      The External tools tab allows to launch an external tool and choose among various variables:
      According to my understanding, %

      {CurrentProject:Path}

      should gives the parent folder of the project file but gives the same result as %

      {CurrentProject:FilePath}

      Trying to start the external tool "/bin/pwd" with the current working directory set to %

      {CurrentProject:Path}

      gives my home directory.

      Attachments

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

        Activity

          People

            con Eike Ziller
            agroyer Anthony Groyer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes