Don't fileFixify PRECOMPILED_HEADER twice
fileFixify must not be called twice on the same file path, since it will convert an absolute path from the shadow build to an absolute path in the source dir. The first fileFixify occurs in MakefileGenerator::init, along with the fixifying of INCLUDEPATH. Change-Id: I607870573a80eaf834ea5f540bbe1451ec983114 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
This commit is contained in:
parent
964ac38fb0
commit
7d4bc536a2
@ -210,7 +210,7 @@ UnixMakefileGenerator::init()
|
|||||||
|
|
||||||
// replace place holders
|
// replace place holders
|
||||||
pchFlags = pchFlags.replace("${QMAKE_PCH_INPUT}",
|
pchFlags = pchFlags.replace("${QMAKE_PCH_INPUT}",
|
||||||
fileFixify(project->first("PRECOMPILED_HEADER").toQString()));
|
project->first("PRECOMPILED_HEADER").toQString());
|
||||||
pchFlags = pchFlags.replace("${QMAKE_PCH_OUTPUT_BASE}", pchBaseName);
|
pchFlags = pchFlags.replace("${QMAKE_PCH_OUTPUT_BASE}", pchBaseName);
|
||||||
if (project->isActiveConfig("icc_pch_style")) {
|
if (project->isActiveConfig("icc_pch_style")) {
|
||||||
// icc style
|
// icc style
|
||||||
|
Loading…
Reference in New Issue
Block a user