forked from qt-creator/qt-creator
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>
This commit is contained in:
committed by
Eike Ziller
parent
51edafece5
commit
70c475c847
@@ -107,7 +107,9 @@ for(dir, QTC_PLUGIN_DIRS) {
|
|||||||
INCLUDEPATH += $$dir
|
INCLUDEPATH += $$dir
|
||||||
}
|
}
|
||||||
|
|
||||||
CONFIG += depend_includepath
|
CONFIG += \
|
||||||
|
depend_includepath \
|
||||||
|
no_include_pwd
|
||||||
|
|
||||||
LIBS += -L$$IDE_LIBRARY_PATH
|
LIBS += -L$$IDE_LIBRARY_PATH
|
||||||
|
|
||||||
|
@@ -62,6 +62,7 @@ isEmpty(USE_USER_DESTDIR) {
|
|||||||
DESTDIR = "$$DESTDIRBASE/QtProject/$$DESTDIRAPPNAME/plugins/$$QTCREATOR_VERSION"
|
DESTDIR = "$$DESTDIRBASE/QtProject/$$DESTDIRAPPNAME/plugins/$$QTCREATOR_VERSION"
|
||||||
}
|
}
|
||||||
LIBS += -L$$DESTDIR
|
LIBS += -L$$DESTDIR
|
||||||
|
INCLUDEPATH += $$OUT_PWD
|
||||||
|
|
||||||
# copy the plugin spec
|
# copy the plugin spec
|
||||||
isEmpty(TARGET) {
|
isEmpty(TARGET) {
|
||||||
|
Reference in New Issue
Block a user