Details
-
Task
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
None
-
None
Description
In Qt we have support for using ICU in collator and as a timezone backend. Windows ships ICU as part of the Windows SDK but this is just a subset and does not include what we would need for collator. But it should be enough for our uses in timezone. The headers are located at 'C:\Program Files (x86)\Windows Kits\10\Include\<SDK version>\um\', and the libraries are in 'C:\Program Files (x86)\Windows Kits\10\Lib\<SDK version>\um\<arch>\'
The problem is that the findICU.cmake file specifically looks for "unicode/utypes.h" to find the include directory, which is one of the files not included in Windows' subset.
We would preferably still be able to take advantage of having ICU in timezone even if it does not work for collator.
Windows also doesn't provide the icudata library, but it does have icudtl.dat supplied (located at C:\Windows\Globalization\ICU\ along with some other files)
Attachments
Issue Links
- is duplicated by
-
QTBUG-110740 [Windows] Add support for linking against ICU shipped with Windows SDK
- Closed
- relates to
-
QTBUG-68812 A new back-end for QTimeZone based on C++20 std::chrono::tzdb
- Closed
-
QTBUG-102044 QLocale toUpper/toLower don't call system alternative only icu
- Closed
-
QTBUG-121353 Distribute Qt with ICU
- Reported
-
QTBUG-132056 Use ICU in Windows SDK for codecs
- Open