diff options
author | Benjamin Dobell <benjamin.dobell+git@glassechidna.com.au> | 2012-10-02 16:54:30 +0200 |
---|---|---|
committer | Benjamin Dobell <benjamin.dobell+git@glassechidna.com.au> | 2012-10-02 16:54:30 +0200 |
commit | 4994531230899c44a9d3b6d734c5abf03a66b889 (patch) | |
tree | 6bebdef1e49dd77e93b41355323d5c14e752d75a /heimdall | |
parent | Added fixed for g++ parsing issue on OS X. (diff) | |
download | Heimdall-4994531230899c44a9d3b6d734c5abf03a66b889.tar Heimdall-4994531230899c44a9d3b6d734c5abf03a66b889.tar.gz Heimdall-4994531230899c44a9d3b6d734c5abf03a66b889.tar.bz2 Heimdall-4994531230899c44a9d3b6d734c5abf03a66b889.tar.lz Heimdall-4994531230899c44a9d3b6d734c5abf03a66b889.tar.xz Heimdall-4994531230899c44a9d3b6d734c5abf03a66b889.tar.zst Heimdall-4994531230899c44a9d3b6d734c5abf03a66b889.zip |
Diffstat (limited to '')
-rw-r--r-- | heimdall-frontend/heimdall-frontend.pro | 39 | ||||
-rw-r--r-- | heimdall/source/Arguments.h | 2 |
2 files changed, 35 insertions, 6 deletions
diff --git a/heimdall-frontend/heimdall-frontend.pro b/heimdall-frontend/heimdall-frontend.pro index 84093cc..cd2bb01 100644 --- a/heimdall-frontend/heimdall-frontend.pro +++ b/heimdall-frontend/heimdall-frontend.pro @@ -6,15 +6,44 @@ TEMPLATE = app TARGET = heimdall-frontend macx { - PRIVATE_FRAMEWORKS.files = /Library/Frameworks/QtCore.framework \ - /Library/Frameworks/QtGui.framework /Library/Frameworks/QtXml.framework + message("") + + QT_FRAMEWORKS_DIR = $$(QT_FRAMEWORKS_DIR) + isEmpty(QT_FRAMEWORKS_DIR) { + message("QT_FRAMEWORKS_DIR not specified, using default:") + QT_FRAMEWORKS_DIR = /System/Library/Frameworks + } + + message("QT_FRAMEWORKS_DIR = $$QT_FRAMEWORKS_DIR") + message("") + + QMAKE_MACOSX_DEPLOYMENT_TARGET = $$(QMAKE_MACOSX_DEPLOYMENT_TARGET) + isEmpty(QMAKE_MACOSX_DEPLOYMENT_TARGET) { + message("QMAKE_MACOSX_DEPLOYMENT_TARGET not specified, using default:") + QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.4 + } + + message("QMAKE_MACOSX_DEPLOYMENT_TARGET = $$QMAKE_MACOSX_DEPLOYMENT_TARGET") + message("") + + QMAKE_MAC_SDK = $$(QMAKE_MAC_SDK) + isEmpty(QMAKE_MAC_SDK) { + message("QMAKE_MAC_SDK not specified, using default:") + QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.4.sdk + } + + message("QMAKE_MAC_SDK = $$QMAKE_MAC_SDK") + message("") + + QMAKE_MACOSX_DEPLOYMENT_TARGET = $$MACOSX_DEPLOYMENT_TARGET + QMAKE_MAC_SDK = $$MAC_SDK + + PRIVATE_FRAMEWORKS.files = $$(QTFRAMEWORKSDIR)/QtCore.framework \ + $$(QTFRAMEWORKSDIR)//QtGui.framework $$(QTFRAMEWORKSDIR)/QtXml.framework PRIVATE_FRAMEWORKS.path = Contents/Frameworks QMAKE_BUNDLE_DATA += PRIVATE_FRAMEWORKS - QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.4 - QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.4u.sdk - config += x86 x86_64 ppc isEmpty(OUTPUTDIR) { diff --git a/heimdall/source/Arguments.h b/heimdall/source/Arguments.h index 55c196e..17f31fa 100644 --- a/heimdall/source/Arguments.h +++ b/heimdall/source/Arguments.h @@ -133,7 +133,7 @@ namespace Heimdall public: Arguments(const map<string, ArgumentType>& argumentTypes, const map<string, string>& shortArgumentAliases = (map<string, string>()), - const map<string, string> argumentAliases = (map<string, string>())); + const map<string, string>& argumentAliases = (map<string, string>())); ~Arguments(); |