Problem building QtCreator with mingw32 (unicode/ucol.h: no such file)
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:
- C:\Qt\Qt5.3.1\5.3\src>set INCLUDE=C:\icu\dist\include
- C:\Qt\Qt5.3.1\5.3\src>set LIB=C:\icu\dist\lib
- 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
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
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
Thank you very much. The process has started... maybe I'll have to combat with building openssl... let's see...
I'll post updates
I've configured without -platform and c++11 flags, do you think that this will be a problem later?
Platform ? No, it's determined for you.
c++11 ? AFAIK, no