qt5base-lts/qmake/generators
Fawzi Mohamed af5f6e35b6 xcodegenerator: use a copy resource phase if possible
Since commmit 0127962e47 the
PBXResourcesBuildPhase is used only for ICONS, because the old
behavior of using it when target path is not given differed from
the documentation and behavior of the makefile generator by using
Contents/Resources as target directory when targeting osx.

The PBXResouceBuildPhase optimizes png, compiles xib or asset catalogs
and copies the rest.
The advantage is that it makes it easy to add resources to the bundle,
the only problem is that the target directory is always the resource
directory.

The copy operation currently used does not compile resources, which
makes adding .xib (for the Launch File required to support iphone 6)
and asset catalogs difficult.

So we restore the old 5.3 behavior for ios, and use the build
resources phase when possible on osx (target Contents/Resources).

On osx this still implies a difference between the makefile
generator and the xcode generator: only the latter compiles resources.

Change-Id: Id1853693e88fc46562b044efdea2bf5f9da2c98c
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
2014-10-30 14:03:50 +01:00
..
integrity Update license headers and add new license files 2014-09-24 12:26:19 +02:00
mac xcodegenerator: use a copy resource phase if possible 2014-10-30 14:03:50 +01:00
unix Merge remote-tracking branch 'origin/5.3' into 5.4 2014-10-06 11:59:47 +02:00
win32 Merge remote-tracking branch 'origin/5.3' into 5.4 2014-10-28 18:21:45 +01:00
makefile.cpp Update license headers and add new license files 2014-09-24 12:26:19 +02:00
makefile.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
makefiledeps.cpp Update license headers and add new license files 2014-09-24 12:26:19 +02:00
makefiledeps.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
metamakefile.cpp Update license headers and add new license files 2014-09-24 12:26:19 +02:00
metamakefile.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
projectgenerator.cpp Update license headers and add new license files 2014-09-24 12:26:19 +02:00
projectgenerator.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
xmloutput.cpp Update license headers and add new license files 2014-09-24 12:26:19 +02:00
xmloutput.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00