Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt-5.5.1 cross compile to ARM
ShawnAster last edited by
I'm cross-compiling qt5.5.1 to ARM & steps/procedure followed are as below
- go to "~/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/linux-arm-gnueabi-g++/" directory
- edit "qmake.conf" by replacing g++.conf & linux.conf with toolchain path
- go to "~/qt-everywhere-opensource-src-5.5.1" directory
- run 'configure' (./configure -xplatfrom linux-arm-gnueabi-g++ -prefix /usr/local/Qt5.5.1 -qt-xcb -opensource -confirm-license)
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.
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 !
tab-liu last edited by
I have meet the same problem, I use ubuntu16.04 ;(