Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-114426

Cannot cross compile xcb error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 5.14.2
    • Build System
    • None
    • Linux/X11

    Description

      Hello,

       

      I'm trying to cross-compile from x84_64 to aarch64 but got somes errors

      My environment:

      1/ Host PC:

      Ubuntu 20.04

      x86_64

      QT 5.14.2

      libxcb, libxkbcommon was found in sysroot/usr/lib/aarch64-linux-gnu/

       

      2/ AI Box

      Ubuntu 20.04

      Jetson Xavier NX

      arm64 (aarch64)

      libxcb, libxkbcommon was found in /usr/lib/aarch64-linux-gnu/

       

      When I run configure for cross compilation:

      victor@victor-G7-7588:/media/victor/VicDrive/Projects/QT/Cross-Compile/Build_Qt_Arm/build$ ../qt-everywhere-src-5.14.2/configure release -opensource -confirm-license -force-debug-info -xplatform linux-aarch64-gnu-g++ -device-option CROSS_COMPILE=/opt/Build_Qt_Arm/gcc-linaro-7.5.0-2019.12-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu -sysroot /opt/Build_Qt_Arm/sysroot -skip qtwebengine -skip qtscript -skip wayland -skip qtlocation -skip qtdatavis3d -nomake examples -nomake tests -qpa xcb -xcb -no-opengl -v

      I got errors:
      ERROR: Feature 'xcb' was enabled, but the pre-condition 'features.thread && features.xkbcommon && libs.xcb' failed.

      Could you help me to fix it?

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtbuildsystem Qt Build System Team
            silentwolf Thang Tran Duc
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes