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

'configure -qt-xcb' fails on ubuntu when building from source

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • None
    • 5.14.2
    • Build System
    • None
    • ubuntu 8.04.4
    • Linux/X11

    Description

      Downloaded and extracted [qt-everywhere-src-5.14.2.tar.xz |http://download.qt.io/official_releases/qt/5.14/5.14.2/single/]. I want to configure for qt-xcb build, which gives an error:

      ./configure -qt-xcb

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

      config.log shows:

      loaded result for library config.qtbase_gui.libraries.xkbcommon
      Trying source 0 (type pkgConfig) of library xkbcommon ...
      + /usr/bin/pkg-config --exists --silence-errors xkbcommon '>=' 0.5.0
      pkg-config did not find package.
        => source produced no result.
      Trying source 1 (type inline) of library xkbcommon ...
      xkbcommon/xkbcommon.h not found in [] and global paths.
        => source produced no result.
      test config.qtbase_gui.libraries.xkbcommon FAILED
      

      Yet xkbcommon is installed on my system and /usr/include/xkbcommon.h exists.

      {{}}

      This problem does not occur for qt-everywhere-src-5.14.1 or qt-everywhere-src-5.14.0

       

      {{}}

      Attachments

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

        Activity

          People

            liaqi Liang Qi
            tom_asso tom_asso
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes