Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-102047

Windows SDK ships a subset of ICU and does not get picked up by CMake because of it

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • None
    • None
    • Windows

    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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              cnn Qt Core & Network
              manordheim Mårten Nordheim
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes