summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@digia.com>2014-04-10 12:34:42 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-04-24 09:40:44 +0200
commitbded052aad12514ba163ca8c7a73f241b3018a28 (patch)
tree883ea58062e5136abcf796774e40fc793ebab93f /configure
parentaf1e32426c50694c0e4c1c292aa5eeee3b38c7bc (diff)
Windows: Do not link QtCore against ICU by default
Do not link against ICU on Windows, unless it is explicitly requested ('-icu' configure option). This removes the QtCore->ICU dependency if ICU was detected in the configure environment. So far ICU has been used in Qt Core for - support of a larger set of codecs (805 instead of 135) - more accurate QLocale functionality (QLocale::toUpper, qLocale::toLower) - string collation However, for all functionality there are also backends using the Windows API/Registry (QLocale, QCollator), or built-in codecs that are part of QtCore. Since the ICU dependency is quite heavy (3 libs with about 25 MB) it seems sensible to not require it by default. QtWebkit is unaffected, since it has it's own ICU check. [ChangeLog][Windows] Changed configure defaults so that Qt5Core does not link against ICU libraries anymore. Pass '-icu' to enable it. Task-number: QTBUG-38259 Change-Id: I3fd3e8ac0f091f532b04945718c0e4a3cc71a087 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 89c2318d82..9786d2e5e6 100755
--- a/configure
+++ b/configure
@@ -1331,6 +1331,7 @@ while [ "$#" -gt 0 ]; do
XPLATFORM_MINGW=yes
CFG_RPATH=no
CFG_REDUCE_EXPORTS=no
+ CFG_ICU=no
;;
esac
;;