aboutsummaryrefslogtreecommitdiffstats
path: root/qtcreator.pri
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2015-03-06 08:35:55 +0200
committerEike Ziller <eike.ziller@theqtcompany.com>2015-03-16 12:41:30 +0000
commit70c475c8470f8ff6a889dfa936606452a954f1c1 (patch)
tree95222600d17572672127230bb94d8e1ef30a2395 /qtcreator.pri
parent51edafece5b4a2bbf163d131ae606e38af00f895 (diff)
Project: Exclude project directory from include path
Some environments include the project directory by default, and some don't (e.g. qbs). In order to avoid compilation errors on the environments that don't, unconditionally exclude the project directory. Change-Id: I8552a269735b42efff1839fb18ce863eed711b7a Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Diffstat (limited to 'qtcreator.pri')
-rw-r--r--qtcreator.pri4
1 files changed, 3 insertions, 1 deletions
diff --git a/qtcreator.pri b/qtcreator.pri
index 04a2cf76e5b..7c8cd355729 100644
--- a/qtcreator.pri
+++ b/qtcreator.pri
@@ -107,7 +107,9 @@ for(dir, QTC_PLUGIN_DIRS) {
INCLUDEPATH += $$dir
}
-CONFIG += depend_includepath
+CONFIG += \
+ depend_includepath \
+ no_include_pwd
LIBS += -L$$IDE_LIBRARY_PATH