]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - qt/patches/qt-everywhere-opensource-src-4.8.1-icu_no_debug.patch
python3-cairo: New package.
[people/ms/ipfire-3.x.git] / qt / patches / qt-everywhere-opensource-src-4.8.1-icu_no_debug.patch
1 diff -up qt-everywhere-opensource-src-4.8.1/src/corelib/tools/qlocale_icu.cpp.icu_no_spam qt-everywhere-opensource-src-4.8.1/src/corelib/tools/qlocale_icu.cpp
2 --- qt-everywhere-opensource-src-4.8.1/src/corelib/tools/qlocale_icu.cpp.icu_no_spam 2012-03-14 09:01:17.000000000 -0500
3 +++ qt-everywhere-opensource-src-4.8.1/src/corelib/tools/qlocale_icu.cpp 2012-04-17 07:30:01.652251482 -0500
4 @@ -83,7 +83,9 @@ bool qt_initIcu(const QString &localeStr
5 // resolve libicui18n
6 QLibrary lib(QLatin1String("icui18n"), QLatin1String(U_ICU_VERSION_SHORT));
7 if (!lib.load()) {
8 +#ifndef QT_NO_DEBUG
9 qWarning() << "Unable to load library icui18n" << lib.errorString();
10 +#endif
11 status = ErrorLoading;
12 return false;
13 }
14 @@ -112,7 +114,9 @@ bool qt_initIcu(const QString &localeStr
15 // resolve libicuuc
16 QLibrary ucLib(QLatin1String("icuuc"), QLatin1String(U_ICU_VERSION_SHORT));
17 if (!ucLib.load()) {
18 +#ifndef QT_NO_DEBUG
19 qWarning() << "Unable to load library icuuc" << ucLib.errorString();
20 +#endif
21 status = ErrorLoading;
22 return false;
23 }