Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt 5.9 MSVC2015 static build with ICU fails
QtWS25 Last Chance

Qt 5.9 MSVC2015 static build with ICU fails

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 1.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    izzyonstage
    wrote on last edited by izzyonstage
    #1

    I seem to be having problems with building a static version of Qt 5.9.0 from the git repository source.
    The problem seems to be with trying to detect the ICU libraries. I have specified the relevant LIB and INC directories allong with -icu for the config options.
    However, all I get is a failure to find the ICU libraries during the initial checks.

    I believe this is because it is not searching for sicu*.lib files which is how the ICU binaries are named when built statically on windows.

    Does anyone have an idea how to resolve this?

    The same thing also happens if I try to build the 5.9.1 version of the source.
    I do however have a working build with 5.7.1 so not sure what has changed with ICU detection since then.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Well, the only option that comes to mind is to modify the Qt sources to link to the special named ICU libraries.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      I 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        Well, the only option that comes to mind is to modify the Qt sources to link to the special named ICU libraries.

        I Offline
        I Offline
        izzyonstage
        wrote on last edited by
        #3

        @SGaist - Any idear where those changes would need to be made?
        I have tried looking in almost every source file but have not found anything that seems to relate to locating the ICU libs.
        Previously I have made a similar change to a fork of QtWebKit from annulen which did the same thing, but I just cant see where this is done in Qt source.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          From a quick grep (well quick ag the silver searcher):

          • qtbase/src/3rdparty/icu_dependency.pri
          • qtbase/src/corelib/configure.json

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved