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

input evdev compile failures (input_event time)

    XMLWordPrintable

Details

    • Linux/Other display system

    Description

      Due to the linux kernel uapi header change ([1]) platformsupport/input/evdevkeyboard and
      platformsupport/input/evdevtouch faile to compile:

      • platformsupport/input/evdevkeyboard
      evdevkeyboard/qevdevkeyboardhandler.cpp: In member function 'void QEvdevKeyboardHandler::switchLed(int, bool)':
      evdevkeyboard/qevdevkeyboardhandler.cpp:153:28: error: 'struct input_event' has no member named 'time'; did you mean 'type'?
           ::gettimeofday(&led_ie.time, 0);
                                  ^~~~
                                  type
      
      • platformsupport/input/evdevtouch
      evdevtouch/qevdevtouchhandler.cpp: In member function 'void QEvdevTouchScreenData::processInputEvent(input_event*)':
      evdevtouch/qevdevtouchhandler.cpp:579:29: error: 'struct input_event' has no member named 'time'; did you mean 'type'?
                m_timeStamp = data->time.tv_sec + data->time.tv_usec / 1000000.0;
                                    ^~~~
                                    type
       evdevtouch/qevdevtouchhandler.cpp:579:49: error: 'struct input_event' has no member named 'time'; did you mean 'type'?
               m_timeStamp = data->time.tv_sec + data->time.tv_usec / 1000000.0;
                                                       ^~~~
                                                        type
      

      See buildroot ([2]) for details...

      [1] https://lkml.org/lkml/2018/1/6/324
      [2] http://lists.busybox.net/pipermail/buildroot/2020-May/282047.html

      Attachments

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

        Activity

          People

            srutledg Shawn Rutledge
            p_seiderer Peter Seiderer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes