From 2e6e295f6193f696171f9c375e985fd2c56236ac Mon Sep 17 00:00:00 2001 From: Eskil Abrahamsen Blomfeldt Date: Wed, 15 May 2013 12:54:46 +0200 Subject: Never show EGLFS mouse cursor in Qt for Android platform plugin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The hack to use the environment variable for turning off the mouse cursor is broken when running against Ministro, because Ministro does not pass the environment on. A better solution is to make it possible to turn the cursor in the EGLFS plugin off in the hooks instead. Task-number: QTBUG-30553 Change-Id: Id09b48c350d2c95de9bb174f7480cf0cd2bf8145 Reviewed-by: Samuel Rødal --- src/plugins/platforms/android/src/opengl/qeglfshooks_android.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/plugins/platforms/android/src/opengl/qeglfshooks_android.cpp') diff --git a/src/plugins/platforms/android/src/opengl/qeglfshooks_android.cpp b/src/plugins/platforms/android/src/opengl/qeglfshooks_android.cpp index 005758d83d..5a35310111 100644 --- a/src/plugins/platforms/android/src/opengl/qeglfshooks_android.cpp +++ b/src/plugins/platforms/android/src/opengl/qeglfshooks_android.cpp @@ -62,6 +62,7 @@ public: EGLNativeWindowType createNativeWindow(const QSize &size, const QSurfaceFormat &format); void destroyNativeWindow(EGLNativeWindowType window); bool hasCapability(QPlatformIntegration::Capability cap) const; + QEglFSCursor *createCursor(QEglFSScreen *screen) const; }; void QEglFSAndroidHooks::platformInit() @@ -134,6 +135,12 @@ QSurfaceFormat QEglFSAndroidHooks::surfaceFormatFor(const QSurfaceFormat &inputF return ret; } +QEglFSCursor *QEglFSAndroidHooks::createCursor(QEglFSScreen *screen) const +{ + Q_UNUSED(screen); + return 0; +} + static QEglFSAndroidHooks eglFSAndroidHooks; QEglFSHooks *platformHooks = &eglFSAndroidHooks; -- cgit v1.2.3