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

Surprising "ActiveProject" in project wizards

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 16.0.0
    • None
    • Ubuntu 24.04 LTS

    Description

      1. In "Edit" -> "Preferences..." -> "Build & Run" -> "Default Build Properties", set a default build directory which uses:
        %{ActiveProject:Name}
        

        I used:

        /tmp/%{ActiveProject:Name}-build
        

        because I don't want the builds to stay on my hard disk.

      2. Open and configure an existing project.
        It uses the expected path.
      3. Create a new project using Creator's wizards.
        Expected: The wizard uses the name of the project it's currently creating.
        Actual: The wizard's "Kit Selection" page uses the name of the other, existing project:

      The same happens when using

      %{CurrentDocument:Project:Name}
      

      instead. I don't see a way to set a default build directory containing the project's name without breaking the wizards.

      Attachments

        Issue Links

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

          Activity

            People

              kandeler Christian Kandeler
              rlohning Robert Löhning
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes