Qt 5.5.0 Cross-Compile Arch Linux Arm



  • I'm trying to make a cross-compiler for Qt 5.5.0 for Arch Linux Arm. I'm basically following this guide:

    http://exploreembedded.tumblr.com/post/115333857238/guide-to-cross-compile-qt-54-for-the-raspberry-pi

    I'm substituting the Raspbian things for Arch, and using this toolchain:

    https://github.com/raspberrypi/tools/tree/master/arm-bcm2708/arm-bcm2708hardfp-linux-gnueabi

    Everything goes ok until I run 'make'. It goes through for a long time, but eventually halts with the following errors:

    ../../include/QtCore/../../src/corelib/tools/qbytearray.h: In member function 'void QPdfEnginePrivate::xprintf(const char*, ...)':
    ../../include/QtCore/../../src/corelib/tools/qbytearray.h:98:19: note: the mangling of 'va_list' has changed in GCC 4.4
    make[3]: *** [.obj/qpdf.o] Error 1
    make[3]: Leaving directory /home/keepstockdev/Qt5.5.0/5.5/Src/qtbase/src/gui' make[2]: *** [sub-gui-make_first] Error 2 make[2]: Leaving directory/home/keepstockdev/Qt5.5.0/5.5/Src/qtbase/src'
    make[1]: *** [sub-src-make_first] Error 2
    make[1]: Leaving directory `/home/keepstockdev/Qt5.5.0/5.5/Src/qtbase'
    make: *** [module-qtbase-make_first] Error 2

    I've successfully built a cross-compiler for Raspbian in the past using this guide:

    http://www.ics.com/blog/building-qt-5-raspberry-pi

    I've never worked with Arch before, so I don't know if what I'm trying to do is possible, or if I need to be using a different toolchain. Any advice or insights would be GREATLY appreciated!


Log in to reply
 

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