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

Option "%{ActiveProject:NativePath}" in "Default build directory" is not always respected.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • Qt Creator 10.0.2
    • None
    • Qt 6.5.1, Qt Creator 10.0.2, Win10 x64 22H2
    • Windows

    Description

      Im using custom "Default build directory" path in Edit -> Preferences -> Build & Run -> Default Build Properties -> Default build directory -> "%{ActiveProject:NativePath}\build%{BuildConfig:Name}" but it seems that project setup does not always respect that setting.

      • I did fresh start (closed and opened again) of Qt Creator and then I tried to create project. I just clicked next, next and next until Kit Selection. Then I clicked Details and I saw that it just skipped "%{ActiveProject:NativePath}" variable. Build path was just "\build\<Release / Debug>".
      • I did open my already made project, and then I tried to create new project. I wanted to create new one. Now the build location is pointing to previously opened, active project, instead of newly, not yet created one.

      Im using Qt 6.5.1, Qt Creator 10.0.2, Win10 x64 22H2

      Attachments

        1. image.png
          62 kB
          Jacek Piwsko
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            cadam Cristian Adam
            bd9a Jacek Piwsko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes