qt5base-lts/qmake
Richard Moe Gustavsen d1528919de xcode generator: don't change output_dir when opening a pbx file directly
ProjectBuilderMakefileGenerator::openOutput should only change back
Option::output_dir when creating a pbx file inside an Xcode project.

Since the pbx file will be placed inside a different directory than
output_dir when creating an Xcode project, MakefileGenerator::openOutput()
will redirect output_dir to be inside the Xcode project as well. Since
we don't want this redirection, we change output_dir back to what it
was once the call returns. But we should only do this when creating
the whole Xcode project, since only then we create a pbx file that
is different from output_dir in the first place.

A bug with this is seen when making qt_makeqmake.mak (which is a
helper makefile inside the Xcode project). That file will only
regenerate the pbx file (and not the whole Xcode project), which
means that we don't enter the fileName.isEmpty() section, which
means that output_dir should stay as it is.

Task-number: QTBUG-45826
Change-Id: I03d5c3dec395ff4768f9272fd1981c6fd35efb1e
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>
2015-05-15 12:09:58 +00:00
..
doc Adding qmake doc details for generating rc files 2015-04-15 10:33:25 +00:00
generators xcode generator: don't change output_dir when opening a pbx file directly 2015-05-15 12:09:58 +00:00
library add autotest for qmake parser 2015-02-25 13:55:12 +00:00
cachekeys.h Update copyright headers 2015-02-11 06:49:51 +00:00
main.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
Makefile.unix fix distclean targets 2015-04-23 19:16:57 +00:00
Makefile.win32 fix distclean targets 2015-04-23 19:16:57 +00:00
meta.cpp fix quoting issues. all of them. (*) 2015-02-17 18:27:29 +00:00
meta.h Update copyright headers 2015-02-11 06:49:51 +00:00
option.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
option.h Update copyright headers 2015-02-11 06:49:51 +00:00
project.cpp make fileFixify() calling convention somewhat sane 2015-04-21 12:06:20 +00:00
project.h make fileFixify() calling convention somewhat sane 2015-04-21 12:06:20 +00:00
property.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
property.h Update copyright headers 2015-02-11 06:49:51 +00:00
qmake_pch.h Update copyright headers 2015-02-11 06:49:51 +00:00
qmake-docs.pro move qmake docs into qtbase 2013-06-17 15:41:55 +02:00
qmake.pri nuke gbuild generator 2015-02-02 11:14:34 +00:00
qmake.pro bring fake qmake project up to snuff 2013-11-04 19:50:07 +01:00