Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. ERROR: Feature 'xcb' was enabled, but the pre-condition 'features.thread && features.xkbcommon && libs.xcb' failed.
Qt 6.11 is out! See what's new in the release blog

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

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
4 Posts 4 Posters 6.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • yuyuY Offline
    yuyuY Offline
    yuyu
    wrote on last edited by
    #1

    I try to complie cross qt code on deepin20,use linux-aarch64-gnu-g++,

    sudo ./configure  -release -prefix /home/yyy/armqt -confirm-license -c++std 11 -opensource  -shared  -xplatform linux-aarch64-gnu-g++ -pch -nomake examples -nomake tests  -no-opengl -skip qt3d -skip qtcanvas3d  -linuxfb
    -qt-xcb
    

    I get a error

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

    what should I do.

    jsulmJ Pablo J. RoginaP S 3 Replies Last reply
    0
    • yuyuY yuyu

      I try to complie cross qt code on deepin20,use linux-aarch64-gnu-g++,

      sudo ./configure  -release -prefix /home/yyy/armqt -confirm-license -c++std 11 -opensource  -shared  -xplatform linux-aarch64-gnu-g++ -pch -nomake examples -nomake tests  -no-opengl -skip qt3d -skip qtcanvas3d  -linuxfb
      -qt-xcb
      

      I get a error

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

      what should I do.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @yuyu said in ERROR: Feature 'xcb' was enabled, but the pre-condition 'features.thread && features.xkbcommon && libs.xcb' failed.:

      what should I do

      You should check the configure log file to see what exactly is missing.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • yuyuY yuyu

        I try to complie cross qt code on deepin20,use linux-aarch64-gnu-g++,

        sudo ./configure  -release -prefix /home/yyy/armqt -confirm-license -c++std 11 -opensource  -shared  -xplatform linux-aarch64-gnu-g++ -pch -nomake examples -nomake tests  -no-opengl -skip qt3d -skip qtcanvas3d  -linuxfb
        -qt-xcb
        

        I get a error

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

        what should I do.

        Pablo J. RoginaP Offline
        Pablo J. RoginaP Offline
        Pablo J. Rogina
        wrote on last edited by
        #3

        @yuyu said in ERROR: Feature 'xcb' was enabled, but the pre-condition 'features.thread && features.xkbcommon && libs.xcb' failed.:

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

        In addition to following suggestion from @jsulm, it looks like some X Window devel library(ies) missing in your device. Please don't forget to synchronize your sysroot folder once you install them.

        Upvote the answer(s) that helped you solve the issue
        Use "Topic Tools" button to mark your post as Solved
        Add screenshots via postimage.org
        Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

        1 Reply Last reply
        1
        • yuyuY yuyu

          I try to complie cross qt code on deepin20,use linux-aarch64-gnu-g++,

          sudo ./configure  -release -prefix /home/yyy/armqt -confirm-license -c++std 11 -opensource  -shared  -xplatform linux-aarch64-gnu-g++ -pch -nomake examples -nomake tests  -no-opengl -skip qt3d -skip qtcanvas3d  -linuxfb
          -qt-xcb
          

          I get a error

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

          what should I do.

          S Offline
          S Offline
          SilentWolf
          wrote on last edited by
          #4

          @yuyu Did you fix it? I got a same problem :(

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved