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

Project "Build directory" doesn't handle variables properly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P3: Somewhat important
    • None
    • Qt Creator 4.5.0
    • None
    • Windows 7

    Description

      Under Project >> Build Settings, the Build directory can be set using variables; as an example %{CurrentProject:NativePath}.

      When variables are used, the path is not handled properly; here are the steps to reproduce:

      • set the Build directory to %{CurrentProject:NativePath} (let's suppose this is
        C:\cygwin\home\Admin\myProject

        )

      • move the mouse cursor over Build directory
      • you see a tip saying "The path xxxx does not exist"
      • xxxx should be the expansion of %{CurrentProject:NativePath} (i.e.
        C:\cygwin\home\Admin\myProject

        )

      • xxxx is shown as
      C:\cygwin\home\Admin\myProject\%{CurrentProject:NativePath}
      • when this happens, an extra
        \..

        is necessary to skip the wrong %{CurrentProject:NativePath}

      Attachments

        Issue Links

          Activity

            People

              kandeler Christian Kandeler
              -vix- ERNESTO VIGANO'
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: