path: root/qmake/generators/unix/unixmake2.cpp
diff options
authorTor Arne Vestbø <>2012-12-11 16:46:55 +0100
committerTor Arne Vestbø <>2013-02-26 13:13:24 +0100
commitdd5b437d6a9b509466021c9484cc396bbdf0f1a4 (patch)
treedd27f762321946028bb2c321c0bebfa5a4756d5b /qmake/generators/unix/unixmake2.cpp
parentf6d13a45c88d94a7b616450efe1adb0a231a92c7 (diff)
qmake: Fix file paths in Xcode projects when shadow-building
The Xcode generator seems to have been written with the assumption that writeMakeParts() would be called with the output directory as the current directory, but that's not the case when shadow-building. Perhaps this was changed in qmake at some point, and the Xcode generator was not updated to reflect that. Instead of replacing every occurance of fileFixify and other logic to deal with paths, we just chdir into the output_dir for the duration of the function (except when writing the 'make qmake' makefile, as the regular makefile generator works as expected with the current directory set to the input directory). Change-Id: I6ba492036d73f29f4adbd7cd554db9504050629e Reviewed-by: Richard Moe Gustavsen <>
Diffstat (limited to 'qmake/generators/unix/unixmake2.cpp')
0 files changed, 0 insertions, 0 deletions