Problem building QtCreator with mingw32 (unicode/ucol.h: no such file)



  • Hello,
    I'm trying to rebuild qt-opensource-windows-x86-mingw482_opengl-5.3.1 with mingw32 to have custom pluging visible in widget bar, but I've a problem, here's the history:

    1. C:\Qt\Qt5.3.1\5.3\src>set INCLUDE=C:\icu\dist\include
    2. C:\Qt\Qt5.3.1\5.3\src>set LIB=C:\icu\dist\lib
    3. C:\Qt\Qt5.3.1\5.3\src>configure -prefix C:\Qt\Qt5.3.1\5.3\src\qtbase -opensource -nomake tests -nomake examples -confirm-license -opengl desktop
    4. C:\Qt\Qt5.3.1\5.3\src>mingw32-make

    and after a while the result is:
    ...
    ...
    In file included from tools\qcollator.cpp:43:0:tools\qcollator_p.h:49:26: fatal error: unicode/ucol.h: No such file or directory #include <unicode/ucol.h>
    ...
    ...

    Do you have suggestions?
    Thanks in advance
    Best regards
    Francesco


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Try with something like that:

    @
    configure -prefix C:/Qt/Qt5.3.1/5.3/src/qtbase -opensource -nomake tests -nomake examples -confirm-license -opengl desktop -I C:/icu/dist/include -L C:/icu/dist/lib
    @

    With Qt you can (and should) use forward slashes. Otherwise you have to escape the backslashes.

    Hope it helps



  • Great!!
    Thank you very much. The process has started... maybe I'll have to combat with building openssl... let's see...
    I'll post updates



  • still running...
    I've configured without -platform and c++11 flags, do you think that this will be a problem later?


  • Lifetime Qt Champion

    Platform ? No, it's determined for you.

    c++11 ? AFAIK, no


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.