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

Add %{Project:SourceDirName} or similar persistent, documented variable

    XMLWordPrintable

Details

    • All
    • 48767fb3b (master)

    Description

      While %{Project:Path} currently works as expected, relying on JavaScript-based manipulation of this internal and undocumented variable to extract a file system path component introduces unnecessary complexity and fragility.

      A simple, persistent, and officially documented variable such as %{Project:SourceDirName} would improve clarity and maintainability in Qt Creator project configurations. This variable would ideally resolve to the basename of the project's path that is, the name of the directory containing the main project file (.pro, .qbs, etc.).

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-33205
        # Subject Branch Project Status CR V

        Activity

          People

            kandeler Christian Kandeler
            chakib Chakib Boutaghane
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes