summarylogtreecommitdiffstats
path: root/QTBUG-64925.diff
blob: 8ddd98c8b873049aa72ca02ef5908345b9d4670f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/chromium/components/url_formatter/url_formatter.cc b/chromium/components/url_formatter/url_formatter.cc
index 1b50ada2085..ca252040a30 100644
--- a/src/3rdparty/chromium/components/url_formatter/url_formatter.cc
+++ b/src/3rdparty/chromium/components/url_formatter/url_formatter.cc
@@ -485,7 +485,7 @@ void IDNSpoofChecker::SetAllowedUnicodeSet(UErrorCode* status) {
   // are added to the allowed set. The list has to be updated when a new
   // version of Unicode is released. The current version is 9.0.0 and ICU 60
   // will have Unicode 10.0 data.
-#if U_ICU_VERSION_MAJOR_NUM < 60
+#if U_ICU_VERSION_MAJOR_NUM < 60 || defined(TOOLKIT_QT)
   const icu::UnicodeSet aspirational_scripts(
       icu::UnicodeString(
           // Unified Canadian Syllabics