Fatal error: 'qtextcodec.h' file not found



  • I can't seem to build Qt 5.3.1 (qtbase) ..

    bq. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -arch i386 -O2 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -mmacosx-version-min=10.6 -fno-exceptions -Wall -W -fPIE -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_EVDEV -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB -I../../../mkspecs/macx-clang-32 -I. -I.moc -F/Qt/qtbase-opensource-src-5.3.1/lib -o .obj/main.o main.cpp
    sax/qxml.cpp:43:10: fatal error: 'qtextcodec.h' file not found
    #include "qtextcodec.h"

    Has this happened to anybody else?

    I also wonder why configure disabled exceptions?


  • Lifetime Qt Champion

    Hi,

    What version of OS X are you running ? Which version of Xcode are you using ? Where did you get the sources ? What configure options did you give ?



  • I believe that the command I posted says everything.. But it looks like nobody else has had this issue so feel free to delete this thread. Thanks.


  • Lifetime Qt Champion

    It doesn't otherwise I would not have asked these questions :)

    I can just guess that you are running Xcode 5.1.1 probably in Mavericks and you are trying to build in 32bit. The name of the source folder doesn't follow the source package style so i don't know where you got it so that might be the problem


Log in to reply
 

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