Set CWD when launched from Finder.
authorMorten Johan Sorvig <morten.sorvig@nokia.com>
Thu, 9 Aug 2012 11:07:21 +0000 (13:07 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 2 Oct 2012 11:22:49 +0000 (13:22 +0200)
commit98ad8460a86f18c83f27ad0447b8a8f9099ab8f6
tree6275640f07554464c7126157ec2971ec9d2033d9
parent903bd6250affd4209dff4e73c4c46cb69965f5fa
Set CWD when launched from Finder.

Like Qt 4. Use the presence of the "-psn_" command-
line argument to detect Finder launches.

Link QtGui against the Cocoa framework due to CFBundle
usage.

Change-Id: I947ae53462072fbdb23afcc0a13ce6b26d02c191
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
src/gui/gui.pro
src/gui/kernel/qguiapplication.cpp