diff options
Diffstat (limited to 'qmake/project.h')
-rw-r--r-- | qmake/project.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qmake/project.h b/qmake/project.h index 26037bb912..fc203c4d7d 100644 --- a/qmake/project.h +++ b/qmake/project.h @@ -57,6 +57,7 @@ public: bool read(const QString &project, LoadFlags what = LoadAll); QString projectFile() const { return m_projectFile; } + QString sourceRoot() const { return m_sourceRoot.isEmpty() ? m_buildRoot : m_sourceRoot; } QString buildRoot() const { return m_buildRoot; } QString confFile() const { return m_conffile; } QString cacheFile() const { return m_cachefile; } |