Qt 5.9 MSVC2015 static build with ICU fails
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.
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.
@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.
From a quick grep (well quick ag the silver searcher):