diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2013-01-09 21:40:34 +0200 |
---|---|---|
committer | hjk <qthjk@ovi.com> | 2013-01-12 03:18:12 +0100 |
commit | c89d22cf7c0f196a9335a2b23b1486511185df52 (patch) | |
tree | e35c73272c996890d366f7d681ba4a63aa80feed /src/plugins/projectexplorer/headerpath.h | |
parent | 3475d55fd9023ae7a13d5160735e8c5e1a0fa6fb (diff) |
Introduce custom compiler settings
Following http://lists.qt-project.org/pipermail/qt-creator/2012-August/001168.html
and my own use-case.
Useful for:
1. Old, unsupported compilers.
2. When compilation is done on a remote server (using a post-build command for instance)
and the compiler is not available on the local machine
Change-Id: Ic2ebdcdd9829efa4a73fb48489c02e4b251c2e33
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'src/plugins/projectexplorer/headerpath.h')
-rw-r--r-- | src/plugins/projectexplorer/headerpath.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/headerpath.h b/src/plugins/projectexplorer/headerpath.h index fa793efcc9..73c0b6132f 100644 --- a/src/plugins/projectexplorer/headerpath.h +++ b/src/plugins/projectexplorer/headerpath.h @@ -56,6 +56,12 @@ public: QString path() const { return m_path; } Kind kind() const { return m_kind; } + bool operator==(const HeaderPath &other) const + { + return m_kind == other.m_kind + && m_path == other.m_path; + } + private: QString m_path; Kind m_kind; |