Important: Please read the Qt Code of Conduct -

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:

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

    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:

    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