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

Project "Build directory" doesn't handle variables properly

XMLWordPrintable

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

      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}

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes