From 132c43d4b90ef825a028f3ae86b3ee7a9ea4e0c1 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Thu, 26 Jun 2014 17:40:13 +0200 Subject: [PATCH] QEGLPlatformIntegration: fix build on Android Change-Id: Ibf2ae4563e2b842d5e70c1e66592e1dc2de4b3d4 Reviewed-by: Laszlo Agocs --- src/platformsupport/eglconvenience/qeglplatformintegration.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/platformsupport/eglconvenience/qeglplatformintegration.cpp b/src/platformsupport/eglconvenience/qeglplatformintegration.cpp index 3c2dba3626..1b63d16195 100644 --- a/src/platformsupport/eglconvenience/qeglplatformintegration.cpp +++ b/src/platformsupport/eglconvenience/qeglplatformintegration.cpp @@ -323,6 +323,8 @@ QFunctionPointer QEGLPlatformIntegration::platformFunction(const QByteArray &fun #if !defined(QT_NO_EVDEV) && (!defined(Q_OS_ANDROID) || defined(Q_OS_ANDROID_NO_SDK)) if (function == QEglFSFunctions::loadKeymapTypeIdentifier()) return QFunctionPointer(loadKeymapStatic); +#else + Q_UNUSED(function) #endif return 0;