Qt-5.5.1 cross compile to ARM



  • Hello,
    I'm cross-compiling qt5.5.1 to ARM & steps/procedure followed are as below

    1. go to "~/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/linux-arm-gnueabi-g++/" directory
    2. edit "qmake.conf" by replacing g++.conf & linux.conf with toolchain path
    3. go to "~/qt-everywhere-opensource-src-5.5.1" directory
    4. run 'configure' (./configure -xplatfrom linux-arm-gnueabi-g++ -prefix /usr/local/Qt5.5.1 -qt-xcb -opensource -confirm-license)

    I'm getting,
    Warning: Disabling pkg-config since PKG_CONFIG_LIBDIR is not set.
    Warning: Disabling pkg-config since PKG_CONFIG_SYSROOT_DIR is not set.
    The test for linking against libxcb failed!
    Use of pkg-config is not enabled, maybe you want to pass -force-pkg-config?
    You might need to install dependency packages for libxcb.
    See src/plugins/platforms/xcb/README.

    I tried passing "-force-pkg-config" and also installed libraries mentioned in ../../../xcb/README
    Still, I get same warning !

    If my cross-compiling procedure is incorrect, Kindly help me with complete steps !



  • I have meet the same problem, I use ubuntu16.04 ;(


Log in to reply
 

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