From 79a23c0a41806cea83ff6208152c4463eedc9295 Mon Sep 17 00:00:00 2001 From: Lincoln Ramsay Date: Thu, 6 Oct 2011 14:04:57 +1000 Subject: [PATCH] Logic does not match error message. Passing -no-xcb or -no-wayland was enough to get a build with neither but the error message says you need to pass both. Fix the logic. Change-Id: I2d554d371b603e7df7bc07e1b4d5271ba31243f0 Reviewed-on: http://codereview.qt-project.org/6099 Reviewed-by: Qt Sanity Bot Reviewed-by: Rohan McGovern --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 2bb15c3..b100198 100755 --- a/configure +++ b/configure @@ -6347,7 +6347,7 @@ if [ "$PLATFORM_QPA" = "yes" ]; then if [ "$PLATFORM_QPA" = "yes" ] && [ "$BUILD_ON_MAC" = "no" ]; then if [ "$CFG_XCB" = "no" ] && [ "$CFG_WAYLAND" = "no" ]; then - if [ "$ORIG_CFG_XCB" = "auto" ] && [ "$ORIG_CFG_WAYLAND" = "auto" ]; then + if [ "$ORIG_CFG_XCB" = "auto" ] || [ "$ORIG_CFG_WAYLAND" = "auto" ]; then echo "No QPA platform plugin enabled!" echo " If you really want to build without a QPA platform plugin you must pass" echo " -no-xcb and -no-wayland to configure. Doing this will produce a Qt that" -- 2.7.4