Re-enable automatic evdev support in EGLFS for Qt on embedded Android.
Change-Id: I2ed6bb57c14ee2c5a72d99e01d1d7d1ae966245f Reviewed-by: aavit <eirik.aavitsland@digia.com>bb10
parent
69ee30260a
commit
4635536bfb
|
|
@ -53,7 +53,7 @@
|
|||
#include <QtPlatformSupport/private/qeglplatformcontext_p.h>
|
||||
#include <QtPlatformSupport/private/qeglpbuffer_p.h>
|
||||
|
||||
#if !defined(QT_NO_EVDEV) && !defined(Q_OS_ANDROID)
|
||||
#if !defined(QT_NO_EVDEV) && (!defined(Q_OS_ANDROID) || defined(Q_OS_ANDROID_NO_SDK))
|
||||
#include <QtPlatformSupport/private/qevdevmousemanager_p.h>
|
||||
#include <QtPlatformSupport/private/qevdevkeyboardmanager_p.h>
|
||||
#include <QtPlatformSupport/private/qevdevtouch_p.h>
|
||||
|
|
@ -79,7 +79,7 @@ QEglFSIntegration::QEglFSIntegration()
|
|||
{
|
||||
QGuiApplicationPrivate::instance()->setEventDispatcher(mEventDispatcher);
|
||||
|
||||
#if !defined(QT_NO_EVDEV) && !defined(Q_OS_ANDROID)
|
||||
#if !defined(QT_NO_EVDEV) && (!defined(Q_OS_ANDROID) || defined(Q_OS_ANDROID_NO_SDK))
|
||||
new QEvdevKeyboardManager(QLatin1String("EvdevKeyboard"), QString() /* spec */, this);
|
||||
new QEvdevMouseManager(QLatin1String("EvdevMouse"), QString() /* spec */, this);
|
||||
new QEvdevTouchScreenHandlerThread(QString() /* spec */, this);
|
||||
|
|
|
|||
Loading…
Reference in New Issue