macdeployqt: Correctly determine the application bundle's executable path.
authorJake Petroules <jake.petroules@petroules.com>
Tue, 16 Sep 2014 05:25:55 +0000 (01:25 -0400)
committerJake Petroules <jake.petroules@petroules.com>
Fri, 19 Sep 2014 14:31:04 +0000 (16:31 +0200)
commit7dfda6f5f91a0eb81a51ff305f79b2fe791f206a
tree9da225625e12fb5682c360237950698e922258e2
parentc55fa57b94d57726293c5eaeea1fab0d7594ae38
macdeployqt: Correctly determine the application bundle's executable path.

This handles cases where the executable is named differently from the
wrapper, or the application bundle is an iOS bundle, where there is no
Contents subdirectory.

Change-Id: I76d665de64be3a0f802dae4f520815490273f90a
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
src/macdeployqt/macchangeqt/macchangeqt.pro
src/macdeployqt/macdeployqt/macdeployqt.pro
src/macdeployqt/shared/shared.cpp