]>
Commit | Line | Data |
---|---|---|
0b0e3709 AM |
1 | Author: Pino Toscano <pino@debian.org> |
2 | Description: Disable the warnings about not being able to dlopen ICU libraries. | |
3 | Most of the applications don't need ICU-based functions for locale-aware | |
4 | string upper- and lower-casing and comparison. If not present, Qt will use the | |
5 | own ways (i.e. those used also in Qt < 4.8). | |
6 | Last-Update: 2012-05-21 | |
7 | Forwarded: not-needed | |
8 | ||
9 | --- a/src/corelib/tools/qlocale_icu.cpp | |
10 | +++ b/src/corelib/tools/qlocale_icu.cpp | |
11 | @@ -88,7 +88,9 @@ bool qt_initIcu(const QString &localeStr | |
12 | QLibrary lib(QLatin1String("icui18n"), QLatin1String(U_ICU_VERSION_SHORT)); | |
13 | lib.setLoadHints(QLibrary::ImprovedSearchHeuristics); | |
14 | if (!lib.load()) { | |
15 | +#if 0 | |
16 | qWarning() << "Unable to load library icui18n" << lib.errorString(); | |
17 | +#endif | |
18 | status = ErrorLoading; | |
19 | return false; | |
20 | } | |
21 | @@ -118,7 +120,9 @@ bool qt_initIcu(const QString &localeStr | |
22 | QLibrary ucLib(QLatin1String("icuuc"), QLatin1String(U_ICU_VERSION_SHORT)); | |
23 | ucLib.setLoadHints(QLibrary::ImprovedSearchHeuristics); | |
24 | if (!ucLib.load()) { | |
25 | +#if 0 | |
26 | qWarning() << "Unable to load library icuuc" << ucLib.errorString(); | |
27 | +#endif | |
28 | status = ErrorLoading; | |
29 | return false; | |
30 | } |