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

Qt WebEngine build fails to locate the xkbcommon include

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 6.2.0 Beta3, 6.3.0 Alpha
    • 6.2.0 Beta2
    • WebEngine
    • None
    • Linux/X11
    • 0d79f35e48fddc3c3c294c0da2555130cbcd084a (qt/qtwebengine/dev) 3612cb879cad9dde124e86d254886beb6a069691 (qt/qtwebengine/6.2)

    Description

      The ozone build fails with:

      [ 3036s] In file included from ../../../../src/3rdparty/chromium/ui/events/ozone/layout/xkb/xkb_evdev_codes.h:9,
      
      [ 3036s] from /home/abuild/rpmbuild/BUILD/qtwebengine-everywhere-src-6.2.0-beta2/src/core/ozone/ozone_platform_qt.cpp:63:
      [ 3036s] ../../../../src/3rdparty/chromium/ui/events/ozone/layout/xkb/xkb_key_code_converter.h:8:10: fatal error: xkbcommon/xkbcommon.h: No such file or directory
      [ 3036s] 8 | #include <xkbcommon/xkbcommon.h>
      

       

      despite the header being installed.

      The probable cause is src/core/ozone/BUILD.gn and src/buildtools/configure.json:

      The build system doesn't look for the xkbcommon pkgconfig file and assumes the headers are in the same location as xkbfile.

       

      Which is a wrong assumption. eg. on openSUSE:

      # pkg-config xkbcommon --cflags
      -I/usr/include/libxkbcommon

       

       

      Attachments

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

        Activity

          People

            michal Michal Klocek
            cgiboudeaux Christophe Marin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes