Mercurial > hg > easyhg
diff easyhg.pro @ 315:2b2f0ba33262
More Mac build material
author | Chris Cannam |
---|---|
date | Tue, 01 Mar 2011 16:50:06 +0000 |
parents | d40294e164da |
children | acfe9390d5c6 aa852b477e4d |
line wrap: on
line diff
--- a/easyhg.pro Tue Mar 01 15:51:41 2011 +0000 +++ b/easyhg.pro Tue Mar 01 16:50:06 2011 +0000 @@ -1,15 +1,22 @@ CONFIG += release -macx-* { - QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.4u.sdk - QMAKE_LFLAGS_RELEASE += -bind_at_load - CONFIG += x86 ppc -} - TEMPLATE = app TARGET = EasyMercurial +macx-g++40 { + # Note, to use the 10.4 SDK on 10.6+ you need qmake -spec macx-g++40 + QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.4u.sdk + QMAKE_CFLAGS += -mmacosx-version-min=10.4 + QMAKE_CXXFLAGS += -mmacosx-version-min=10.4 + QMAKE_LFLAGS_RELEASE += -bind_at_load + CONFIG += x86 ppc +} +macx-g++ { + QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.6.sdk + CONFIG += x86 x86_64 +} + unix { DESTDIR = . }