Details
-
Suggestion
-
Resolution: Fixed
-
Not Evaluated
-
Qt Creator 17.0.0
-
-
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 |
660949,2 | Utils: Add variable for a file path's parent directory name | master | qt-creator/qt-creator | Status: MERGED | +2 | +1 |