From d153b73c12b5530782cd3eb526eaa9294a339abc Mon Sep 17 00:00:00 2001 From: Robin Burchell Date: Fri, 22 Jun 2012 15:12:38 +0200 Subject: Guard evdev specifics with QT_NO_EVDEV. Android fails the evdev configure test at present. Change-Id: I1cbaf2dab589f647c02c8c5b92f72bd5159ccfa9 Reviewed-by: Girish Ramakrishnan --- src/plugins/platforms/eglfs/qeglfsintegration.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/plugins/platforms/eglfs/qeglfsintegration.cpp b/src/plugins/platforms/eglfs/qeglfsintegration.cpp index f27f37acfa..b3f88e23a9 100644 --- a/src/plugins/platforms/eglfs/qeglfsintegration.cpp +++ b/src/plugins/platforms/eglfs/qeglfsintegration.cpp @@ -51,9 +51,11 @@ #include #include +#if !defined(QT_NO_EVDEV) #include #include #include +#endif #include #include @@ -72,9 +74,11 @@ QEglFSIntegration::QEglFSIntegration() { QGuiApplicationPrivate::instance()->setEventDispatcher(mEventDispatcher); +#if !defined(QT_NO_EVDEV) new QEvdevKeyboardManager(QLatin1String("EvdevKeyboard"), QString() /* spec */, this); new QEvdevMouseManager(QLatin1String("EvdevMouse"), QString() /* spec */, this); new QEvdevTouchScreenHandlerThread(QString() /* spec */, this); +#endif hooks->platformInit(); -- cgit v1.2.3