diff options
author | J-P Nurmi <jpnurmi@gmail.com> | 2013-12-09 21:46:05 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-17 14:32:19 +0100 |
commit | 5c3faa52d7aaab64d1aa6c3800466292a3c3ce18 (patch) | |
tree | bbafae194a19e69e18af1166bca28812a85268f4 /qmake/project.h | |
parent | 328f2f9c35f3cc5e7049a060a608c3f72876484a (diff) |
qmake: cleanup DISTFILES
Do not include the project file twice or other
.pr? files outside the project tree.
Task-number: QTBUG-21910
Change-Id: I62af842282ccdc5b9099d9227d5395ebe3f0698c
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
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; } |