aboutsummaryrefslogtreecommitdiffstats
path: root/src/qtcreatorplugin.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 /src/qtcreatorplugin.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 'src/qtcreatorplugin.pri')
-rw-r--r--src/qtcreatorplugin.pri1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qtcreatorplugin.pri b/src/qtcreatorplugin.pri
index a478f498aa..5381b6de83 100644
--- a/src/qtcreatorplugin.pri
+++ b/src/qtcreatorplugin.pri
@@ -62,6 +62,7 @@ isEmpty(USE_USER_DESTDIR) {
DESTDIR = "$$DESTDIRBASE/QtProject/$$DESTDIRAPPNAME/plugins/$$QTCREATOR_VERSION"
}
LIBS += -L$$DESTDIR
+INCLUDEPATH += $$OUT_PWD
# copy the plugin spec
isEmpty(TARGET) {