  QT_BEGIN_NAMESPACE
  
  Q_LOGGING_CATEGORY(qLcEvdevKey, "qt.qpa.input")
-@@ -149,7 +154,10 @@ void QEvdevKeyboardHandler::switchLed(int led, bool state)
-     qCDebug(qLcEvdevKey) << "switchLed" << led << state;
+@@ -150,7 +155,10 @@
+     qCDebug(qLcEvdevKey, "switchLed %d %d", led, int(state));
  
      struct ::input_event led_ie;
 -    ::gettimeofday(&led_ie.time, 0);

From e06ac2e26c8490a7b8702e9462d1f38244ac3f0f Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Mon, 25 Nov 2019 08:27:39 -0800
Subject: [PATCH] input: Make use of timeval portable for 64bit time_t

 
         m_lastTouchPoints = m_touchPoints;
         m_touchPoints.clear();
