From d66e752c893aeb6c259db05a92d0de5ec2b99c8f Mon Sep 17 00:00:00 2001 From: Mark Liversedge Date: Tue, 6 May 2014 20:17:30 +0100 Subject: [PATCH] Add build info on Mac .. see src/mac/Info.plist.app, based upon the default for Mac with clang found in mkspecs/default/Info.plist.app from the Qt installation directories. .. we make our own to add build version information, which should be placed there via the qmake 'VERSION' macro but its not supported -- you have to edit the plist file instead. Fixes #796 --- src/mac/Info.plist.app | 22 ++++++++++++++++++++++ src/src.pro | 1 + 2 files changed, 23 insertions(+) create mode 100644 src/mac/Info.plist.app diff --git a/src/mac/Info.plist.app b/src/mac/Info.plist.app new file mode 100644 index 000000000..3648a39fd --- /dev/null +++ b/src/mac/Info.plist.app @@ -0,0 +1,22 @@ + + + + + NSPrincipalClass + NSApplication + CFBundleIconFile + @ICON@ + CFBundlePackageType + APPL + CFBundleGetInfoString + 3.1.0 (developer) + CFBundleSignature + @TYPEINFO@ + CFBundleExecutable + @EXECUTABLE@ + CFBundleIdentifier + @BUNDLEIDENTIFIER@ + NOTE + 3.1.0 pre-release + + diff --git a/src/src.pro b/src/src.pro index 4ce8024d4..6d4619d50 100644 --- a/src/src.pro +++ b/src/src.pro @@ -9,6 +9,7 @@ TEMPLATE = app TARGET = GoldenCheetah !isEmpty( APP_NAME ) { TARGET = $${APP_NAME} } DEPENDPATH += . +QMAKE_INFO_PLIST = ./mac/Info.plist.app ## qwt and libz INCLUDEPATH += ../qwt/src ../qxt/src $${LIBZ_INCLUDE}