From 70c475c8470f8ff6a889dfa936606452a954f1c1 Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Fri, 6 Mar 2015 08:35:55 +0200 Subject: 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 Reviewed-by: Eike Ziller --- src/qtcreatorplugin.pri | 1 + 1 file changed, 1 insertion(+) (limited to 'src/qtcreatorplugin.pri') 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) { -- cgit v1.2.3