[Buildroot] [PATCH v1] package/qt5base: fix input_event related compile failure

Peter Korsgaard peter at korsgaard.com
Sun May 10 20:43:30 UTC 2020


>>>>> "Peter" == Peter Seiderer <ps.report at gmx.net> writes:

 > Fixes:
 >   - http://autobuild.buildroot.net/results/af76190876656252eb6f60220cdb1d627a03b7c3

 >   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

 >   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

A similar fix is presumably also needed for 2020.02.x? Care to send a
patch?

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list