I got the following error when I was building qt5.5.1 and trying to use QtWebKit



  • I got the following error when I was building qt5.5.1 and trying to use QtWebKit
    codecs\qicucodec.cpp:47:26: fatal error: unicode/ucnv.h: No such file or directory
    compilation terminated.
    Makefile.Debug:34683: recipe for target '.obj/debug/qicucodec.o' failed
    mingw32-make[4]: *** [.obj/debug/qicucodec.o] Error 1
    mingw32-make[4]: Leaving directory 'D:/x86/qt-everywhere-opensource-src-5.5.1/qtbase/src/corelib'
    Makefile:38: recipe for target 'debug-all' failed
    mingw32-make[3]: *** [debug-all] Error 2
    mingw32-make[3]: *** Waiting for unfinished jobs....


    codecs\qicucodec.cpp:47:26: fatal error: unicode/ucnv.h: No such file or directory
    compilation terminated.
    Makefile.Release:34683: recipe for target '.obj/release/qicucodec.o' failed
    mingw32-make[4]: *** [.obj/release/qicucodec.o] Error 1
    mingw32-make[4]: *** Waiting for unfinished jobs....
    mingw32-make[4]: Leaving directory 'D:/x86/qt-everywhere-opensource-src-5.5.1/qtbase/src/corelib'
    Makefile:52: recipe for target 'release-all' failed
    mingw32-make[3]: *** [release-all] Error 2
    mingw32-make[3]: Leaving directory 'D:/x86/qt-everywhere-opensource-src-5.5.1/qtbase/src/corelib'
    Makefile:163: recipe for target 'sub-corelib-make_first' failed
    mingw32-make[2]: *** [sub-corelib-make_first] Error 2
    mingw32-make[2]: Leaving directory 'D:/x86/qt-everywhere-opensource-src-5.5.1/qtbase/src'
    Makefile:41: recipe for target 'sub-src-make_first' failed
    mingw32-make[1]: *** [sub-src-make_first] Error 2
    mingw32-make[1]: Leaving directory 'D:/x86/qt-everywhere-opensource-src-5.5.1/qtbase'
    makefile:68: recipe for target 'module-qtbase-make_first' failed
    mingw32-make: *** [module-qtbase-make_first] Error 2

    configure command:
    configure -prefix d:\QtLibrary-x86 -confirm-license -opensource -debug-and-release -shared -opengl desktop -no-openvg -nomake tests -nomake examples -no-compile-examples -icu

    The icu lib I set
    set PATH=%PATH%;D:\icu_x86\bin;D:\icu_x86\lib
    set INCLUDE=%INCLUDE%;D:\icu_x86\include
    set LIB=%LIB%;D:\icu_x86\lib


Log in to reply
 

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