From 23d9a022ee27ed7e8089ce0516f699a847083730 Mon Sep 17 00:00:00 2001 From: Ian Dean Date: Wed, 18 Jul 2012 14:05:14 -0700 Subject: Disable MacOSX 10.6+ locale code for iOS builds. Change-Id: Ic2e9437aac10cb23479e8915ff6abf89d6d20169 Reviewed-by: Eskil Abrahamsen Blomfeldt --- src/corelib/tools/qlocale_mac.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/tools/qlocale_mac.mm b/src/corelib/tools/qlocale_mac.mm index 3b93e89..e849711 100644 --- a/src/corelib/tools/qlocale_mac.mm +++ b/src/corelib/tools/qlocale_mac.mm @@ -345,7 +345,7 @@ static QString macFormatCurrency(const QSystemLocale::CurrencyToStringArgument & static QVariant macQuoteString(QSystemLocale::QueryType type, const QStringRef &str) { -#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6 +#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6 && !defined(QT_NO_CORESERVICES) if (QSysInfo::MacintoshVersion < QSysInfo::MV_10_6) return QVariant(); -- cgit v0.12