From 2314286883dd7d31db05115ced82d6916499d933 Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Wed, 25 Mar 2015 11:36:29 +0100 Subject: evdevtouch: Add hotplug support Follow the exact same structure as evdevmouse and keyboard. We must do monitoring via device discovery just like we do for keyboards and mice. Otherwise the usage of touchscreens that connect via USB or can be turned on/off independently from the board becomes troublesome. Change-Id: I2de3b519e8d617b0612e5df486e481bbc09b9c8c Reviewed-by: Andy Nichols --- src/platformsupport/eglconvenience/qeglplatformintegration.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/platformsupport/eglconvenience') diff --git a/src/platformsupport/eglconvenience/qeglplatformintegration.cpp b/src/platformsupport/eglconvenience/qeglplatformintegration.cpp index 200ded760c..1868ff1665 100644 --- a/src/platformsupport/eglconvenience/qeglplatformintegration.cpp +++ b/src/platformsupport/eglconvenience/qeglplatformintegration.cpp @@ -48,7 +48,7 @@ #if !defined(QT_NO_EVDEV) && (!defined(Q_OS_ANDROID) || defined(Q_OS_ANDROID_NO_SDK)) #include #include -#include +#include #endif #if !defined(QT_NO_TSLIB) && (!defined(Q_OS_ANDROID) || defined(Q_OS_ANDROID_NO_SDK)) @@ -359,7 +359,7 @@ void QEGLPlatformIntegration::createInputHandlers() new QTsLibMouseHandler(QLatin1String("TsLib"), QString() /* spec */); else #endif // QT_NO_TSLIB - new QEvdevTouchScreenHandlerThread(QString() /* spec */, this); + new QEvdevTouchManager(QLatin1String("EvdevTouch"), QString() /* spec */, this); #endif } -- cgit v1.2.3