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

qtwayland does not build without xkbcommon-evdev

    XMLWordPrintable

    Details

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

      Description

      When building qtwayland on yocto the build fails with: error: undefined reference to 'QWaylandKeyboardPrivate::toWaylandXkbV1Key(unsigned int)'

      I figured out that the missing function is inside a #if QT_CONFIG(xkbcommon_evdev) #endif block, but the calling part is not. I was able to fix it by moving toWaylandXkbV1Key to a location outside the if (see attachement).

        Attachments

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

          Activity

            People

            Assignee:
            johanhelsing Johan Helsing
            Reporter:
            laser_b Raphael Freudiger
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes