From e0e696dd05fbe329044879cf560fe26330edf7bd Mon Sep 17 00:00:00 2001 From: Morten Sorvig Date: Thu, 19 May 2011 09:18:34 +0200 Subject: Remove QMAKE_MACOS_DEPLOYMENT_TARGET. Not needed any more, 10.5 and up supports setting the deployment target/minimum version on the compiler command line. --- qmake/generators/unix/unixmake2.cpp | 3 --- qmake/qmake.pri | 1 - 2 files changed, 4 deletions(-) (limited to 'qmake') diff --git a/qmake/generators/unix/unixmake2.cpp b/qmake/generators/unix/unixmake2.cpp index 82f2366349..60e671f2e4 100644 --- a/qmake/generators/unix/unixmake2.cpp +++ b/qmake/generators/unix/unixmake2.cpp @@ -175,9 +175,6 @@ UnixMakefileGenerator::writeMakeParts(QTextStream &t) t << "MOVE = " << var("QMAKE_MOVE") << endl; t << "CHK_DIR_EXISTS= " << var("QMAKE_CHK_DIR_EXISTS") << endl; t << "MKDIR = " << var("QMAKE_MKDIR") << endl; - if(!project->isEmpty("QMAKE_MACOSX_DEPLOYMENT_TARGET")) - t << "export MACOSX_DEPLOYMENT_TARGET = " //exported to children processes - << project->first("QMAKE_MACOSX_DEPLOYMENT_TARGET") << endl; if (!project->isEmpty("QMAKE_SYMBIAN_SHLIB")) { t << "vpath %.dso " << project->values("QMAKE_LIBDIR").join(":") << endl; diff --git a/qmake/qmake.pri b/qmake/qmake.pri index d6c5f09107..548ac546b9 100644 --- a/qmake/qmake.pri +++ b/qmake/qmake.pri @@ -134,7 +134,6 @@ bootstrap { #Qt code mac { SOURCES += qfilesystemengine_mac.cpp SOURCES += qcore_mac.cpp qsettings_mac.cpp - QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.4 #enables weak linking for 10.4 (exported) LIBS += -framework ApplicationServices } } else:win32 { -- cgit v1.2.3