Qt 4.7.1 show errors while making



  • I am using arm-none-linux-gnueabi-gcc 4.3.2,Ubuntu 12.04 LTS 64bit,Qt 4.7.1 .

    I try ./configure -opensource -embedded arm -xplatform -qws/linux-arm-g++ -no-webkit -qt-libtiff -qt-libmng -qt-mouse-tslib -qt-mouse-pc -no-mouse-linuxtp -prefix /opt/qt4.7.1 -I /usr/local/tslib/include -L /usr/local/tslib/lib

    Then make.

    Show errors

    /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/jpeglib.h:1058: error: 'boolean' does not name a type
    /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/jpeglib.h:1060: error: 'boolean' does not name a type
    /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/jpeglib.h:1061: error: 'boolean' does not name a type
    /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/jpeglib.h:1082: error: 'jpeg_marker_parser_method' has not been declared
    /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/jpeglib.h:1108: error: 'boolean' does not name a type
    ../../../gui/image/qjpeghandler.cpp:75: error: expected declaration before '}' token
    make[3]: *** [.obj/release-shared-emb-arm/qjpeghandler.o] Error 1
    make[3]: Leaving directory /opt/qt-everywhere-opensource-src-4.7.1/src/plugins/imageformats/jpeg' make[2]: *** [sub-jpeg-make_default] Error 2 make[2]: Leaving directory/opt/qt-everywhere-opensource-src-4.7.1/src/plugins/imageformats'
    make[1]: *** [sub-imageformats-make_default] Error 2
    make[1]: Leaving directory `/opt/qt-everywhere-opensource-src-4.7.1/src/plugins'
    make: *** [sub-plugins-make_default-ordered] Error 2

    How do I make successfully.
    Thanks.


  • Moderators

    Maybe you should try with a more recent Qt version first?
    It it has to be version 4 then check with 4.8.6



  • @jsulm Thanks,I fixed the problem by removing /4.3.2 and reinstall it.
    With a clean 4.3.2 ,no errors.


Log in to reply
 

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