Go to file
Tor Arne Vestbø 9ce5a0671a Set macosx-version-min in common Mac OS X mkspec instead of configure
When set in configure it would be written to .qmake.cache and would only
apply when building Qt. We then had an override (that was also out of
sync, version-wise) in the g++ mkspec, which would also apply to apps
building agains Qt. This override did howerver not apply when using
the Clang mkspec.

We now move setting macosx-version-min to the common macx mkspec, shared
by both g++ and Clang, which will apply both when building Qt and when
building something against Qt. The latter since an application built
against Qt will not deploy on versions of Mac OS earlier than 10.6
anyways, so we might as well always set the minimum-version.

The modifications to the mkspecs will result in macosx-version-min
being passed twice when compiling qmake, as configure writes its own
makefiles and the mkspec parsing in configure has a bug where it will
lazily evaluate qmake-variables instead of evaluating them inline. This
is not a problem, and can be fixed in a later patch if seen fit.

Change-Id: Ib29503ad00a9dc00e0a50b0dbd9459e89a20dfbd
Reviewed-by: Zeno Albisser <zeno.albisser@nokia.com>
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
2012-01-23 14:47:10 +01:00
bin Fixed qtmodule-configtests on Windows. 2012-01-23 11:02:18 +01:00
config.tests Update contact information in license headers. 2012-01-23 04:04:33 +01:00
dist Obsolete QInputDialog::getInteger() 'officially'. 2012-01-22 22:10:02 +01:00
doc/src Update contact information in license headers. 2012-01-23 04:04:33 +01:00
examples Update obsolete contact address. 2012-01-23 04:04:33 +01:00
lib Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
mkspecs Set macosx-version-min in common Mac OS X mkspec instead of configure 2012-01-23 14:47:10 +01:00
qmake Update contact information in license headers. 2012-01-23 04:04:33 +01:00
src Use QObject pointer as QCocoaAccessibleElement id. 2012-01-23 14:47:10 +01:00
tests Ignore known tst_QStyleSheetStyle failures on Mac OS X 2012-01-23 14:47:10 +01:00
tools Update contact information in license headers. 2012-01-23 04:04:33 +01:00
util Update contact information in license headers. 2012-01-23 04:04:33 +01:00
.gitattributes Added .tag file with Git revision. 2011-05-03 16:23:49 +02:00
.gitignore Remove references to openvgversion.h 2012-01-14 14:48:16 +01:00
.tag Added .tag file with Git revision. 2011-05-03 16:23:49 +02:00
configure Set macosx-version-min in common Mac OS X mkspec instead of configure 2012-01-23 14:47:10 +01:00
configure.exe Add a new QT_NO_SSL feature macro. 2012-01-06 11:19:23 +01:00
header.BSD Update contact information in license headers. 2012-01-23 04:04:33 +01:00
header.FDL Update contact information in license headers. 2012-01-23 04:04:33 +01:00
header.LGPL Update contact information in license headers. 2012-01-23 04:04:33 +01:00
header.LGPL-ONLY Update obsolete contact address. 2012-01-23 04:04:33 +01:00
INSTALL Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
LGPL_EXCEPTION.txt Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
LICENSE.FDL Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
LICENSE.LGPL Update contact information in license headers. 2012-01-23 04:04:33 +01:00
LICENSE.PREVIEW.COMMERCIAL Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
qtbase.pro Ensure qmodule.pri is installed. 2011-11-23 00:12:03 +01:00
sync.profile Remove references to openvgversion.h 2012-01-14 14:48:16 +01:00