diff options
author | Morten Johan Sorvig <morten.sorvig@nokia.com> | 2012-08-09 13:07:21 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-10-02 13:22:49 +0200 |
commit | 98ad8460a86f18c83f27ad0447b8a8f9099ab8f6 (patch) | |
tree | 6275640f07554464c7126157ec2971ec9d2033d9 /src/gui/gui.pro | |
parent | 903bd6250affd4209dff4e73c4c46cb69965f5fa (diff) |
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>
Diffstat (limited to 'src/gui/gui.pro')
-rw-r--r-- | src/gui/gui.pro | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/gui.pro b/src/gui/gui.pro index cab44f8047..d9d2aaec2d 100644 --- a/src/gui/gui.pro +++ b/src/gui/gui.pro @@ -16,6 +16,10 @@ testcocoon { load(testcocoon) } +mac { + LIBS_PRIVATE += -framework Cocoa +} + CONFIG += simd QMAKE_DOCS = $$PWD/doc/qtgui.qdocconf |