enable depend_includepath by default
DEPENDPATH is hard to get right, and consequently most projects have broken dependencies. the easy way out is just adding everying in INCLUDEPATH to DEPENDPATH, like we do ourselves in qt. if somebody wants to optimize, he can opt-out. Change-Id: I7fb56010728fd2b0d2b7d4d26386f366d414ba04 Reviewed-by: Qt Doc Bot <qt_docbot@qt-project.org> Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
This commit is contained in:
parent
ce8e6abe7f
commit
1503d99a5e
2
configure
vendored
2
configure
vendored
@ -6091,7 +6091,7 @@ QT_SOURCE_TREE = \$\$quote($relpath)
|
||||
QT_BUILD_TREE = \$\$quote($outpath)
|
||||
|
||||
include(\$\$PWD/mkspecs/qmodule.pri)
|
||||
CONFIG += dylib depend_includepath fix_output_dirs no_private_qt_headers_warning QTDIR_build
|
||||
CONFIG += dylib fix_output_dirs no_private_qt_headers_warning QTDIR_build
|
||||
|
||||
EOF
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
load(exclusive_builds)
|
||||
CONFIG = lex yacc warn_on debug exceptions $$CONFIG
|
||||
CONFIG = lex yacc warn_on debug exceptions depend_includepath $$CONFIG
|
||||
|
||||
!build_pass:exists($$_PRO_FILE_PWD_/sync.profile) {
|
||||
!exists($$[QT_HOST_DATA]/.qmake.cache) {
|
||||
|
@ -2632,7 +2632,7 @@ void Configure::generateCachefile()
|
||||
for (QStringList::Iterator var = qmakeVars.begin(); var != qmakeVars.end(); ++var) {
|
||||
cacheStream << (*var) << endl;
|
||||
}
|
||||
cacheStream << "CONFIG += " << qmakeConfig.join(" ") << "depend_includepath no_private_qt_headers_warning QTDIR_build" << endl;
|
||||
cacheStream << "CONFIG += " << qmakeConfig.join(" ") << "no_private_qt_headers_warning QTDIR_build" << endl;
|
||||
|
||||
cacheStream.flush();
|
||||
cacheFile.close();
|
||||
|
Loading…
Reference in New Issue
Block a user