PathChooser: Provide static way to expand a directory...

...to be able to fetch working directory even for
non-active targets.

Change-Id: I563e9b56e8a8393b998811e0fb364078d4c37d03
Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
Christian Stenger
2016-01-07 13:46:54 +01:00
parent 9cd8e7f252
commit 069f8c234c
3 changed files with 28 additions and 2 deletions

View File

@@ -96,6 +96,9 @@ public:
FileName rawFileName() const; // The raw unexpanded input.
FileName fileName() const;
static QString expandedDirectory(const QString &input, const Utils::Environment &env,
const QString &baseDir);
QString baseDirectory() const;
void setBaseDirectory(const QString &directory);