Skip to content
This repository has been archived by the owner. It is now read-only.
Browse files

Mac: Embed Info.plist in the executable.

Info.plist is needed to surpress the dock icon. Up to now, we need to have
the file available at run-time. With this change, the contents of
Info.plist are embedded in the executable at the linking stage, thus
there is no need to deploy the Info.plist file anymore.

Credit to Smokey Ardisson for the tip.
  • Loading branch information...
ariya committed May 7, 2012
1 parent 4669c16 commit 71425850f61ad85e33741ed5a59364327532f6a8
Showing with 1 addition and 0 deletions.
  1. 0 {bin → src}/Info.plist
  2. +1 −0 src/
File renamed without changes.
@@ -63,6 +63,7 @@ os2: RC_FILE = phantomjs_os2.rc

mac {
QMAKE_CXXFLAGS += -fvisibility=hidden
QMAKE_LFLAGS += '-sectcreate __TEXT __info_plist Info.plist'
CONFIG -= app_bundle
# Uncomment to build a Mac OS X Universal Binary (i.e. x86 + ppc)
# CONFIG += x86 ppc

0 comments on commit 7142585

Please sign in to comment.
You can’t perform that action at this time.