Do not build eglfs QPA when cross compiling for QNX
authorSean Harmer <sean.harmer.qnx@kdab.com>
Tue, 5 Jun 2012 09:35:34 +0000 (10:35 +0100)
committerQt by Nokia <qt-info@nokia.com>
Wed, 6 Jun 2012 10:31:58 +0000 (12:31 +0200)
Commit 2a1b50d67c1f2f4c5bd5efe048080989db37f44f introduced a dependency
on evdev for eglfs which QNX does not provide. QNX also has a dedicated
QPA plugin so the eglfs plugin is not needed there.

It is not possible to use the -device configure defaults approach as
it is not cross-platform.

Change-Id: I2d151f16cf1a9576a0b0b528f0e9c17834c66e91
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
configure

index d605fe0..d74eb10 100755 (executable)
--- a/configure
+++ b/configure
@@ -4742,7 +4742,7 @@ elif [ "$CFG_OPENGL" = "desktop" ]; then
 fi
 
 if [ "$CFG_EGLFS" != "no" ]; then
-    if [ "$CFG_OPENGL" = "es2" ]; then
+    if [ "$CFG_OPENGL" = "es2" ] && [ "$XPLATFORM_QNX" = "no" ]; then
         CFG_EGLFS="$CFG_EGL"
     else
         CFG_EGLFS="no"