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

Build of qwaylandinputocntext fails in environments where xkbcommon is not installed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 5.15, 6.2
    • 5.15.4
    • QPA: Wayland
    • None
    • Linux/X11
    • 05658e127dedfff65789860415537c6920ec574d

    Description

      If xkbcommon is not installed, the following files in qt-everywhere-src-5.15.4 fail to build. 

       qtwayland/src/client/qwaylandinputcontext.cpp

      The error occurs in the following two lines of QWaylandInputContext::reset().

       

          if (m_composeState)
              xkb_compose_state_reset(m_composeState);

       

      I think that we probably need to add the following "#if QT_CONFIG(xkbcommon)".

       

      #if QT_CONFIG(xkbcommon)
          if (m_composeState)
              xkb_compose_state_reset(m_composeState);
      #endif
      

      Attachments

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

        Activity

          People

            sapiippo Samuli Piippo
            fuminori.matsubara Matsubara Fuminori
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes