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

Qt WebEngine build fails to locate the xkbcommon include

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 6.2.0 Beta2
    • Fix Version/s: 6.2.0 Beta3, 6.3.0 Alpha
    • Component/s: WebEngine
    • Labels:
      None
    • Platform/s:
      Linux/X11
    • Commits:
      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

        For Gerrit Dashboard: QTBUG-95473
        # Subject Branch Project Status CR V

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes