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

QtWayland fails to build without xkbcommon

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.7.0
    • Fix Version/s: None
    • Component/s: QPA: Wayland
    • Labels:
      None

      Description

      When working on a system without X11 support, in Yocto Project, the build fails.

      foreach (xkb_keysym_t keysym, QWaylandXkb::toKeysym(event)) {
      ^
      /home/otavio/src/yocto/build/tmp/work/cortexa9hf-neon-mx6qdl-oel-linux-gnueabi/qtwayland/5.6.99+5.7.0-beta+gitAUTOINC+a172672484-r0/git/src/compositor/extensions/qwaylandtextinput.cpp:219:64: error: 'keysym' was not declared in this scope
      send_keysym(focusResource->handle, event->timestamp(), keysym,
      ^~~~~~
      Makefile:2407: recipe for target '.obj/qwaylandtextinput.o' failed
      make[2]: *** [.obj/qwaylandtextinput.o] Error 1
      make[2]: *** Waiting for unfinished jobs....
      make[2]: Leaving directory '/home/otavio/src/yocto/build/tmp/work/cortexa9hf-neon-mx6qdl-oel-linux-gnueabi/qtwayland/5.6.99+5.7.0-beta+gitAUTOINC+a172672484-r0/build/src/compositor'
      Makefile:71: recipe for target 'sub-compositor-make_first' failed
      make[1]: *** [sub-compositor-make_first] Error 2
      make[1]: Leaving directory '/home/otavio/src/yocto/build/tmp/work/cortexa9hf-neon-mx6qdl-oel-linux-gnueabi/qtwayland/5.6.99+5.7.0-beta+gitAUTOINC+a172672484-r0/build/src'
      Makefile:44: recipe for target 'sub-src-make_first' failed
      make: *** [sub-src-make_first] Error 2
      WARNING: exit code 1 from a shell command.

        Attachments

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

          Activity

            People

            Assignee:
            paeglis Gatis Paeglis
            Reporter:
            otavio Otavio Salvador
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes