From a67022723b0b2d59011641086f30a41c8ff4dac0 Mon Sep 17 00:00:00 2001 From: Lincoln Ramsay Date: Tue, 4 Oct 2011 13:20:42 +1000 Subject: [PATCH] If -xcb is passed and we can't enable xcb, die Needed to resolve issue QTBUG-21486 Change-Id: I5493cfa73f0433fda60fb0dd850380021e13b928 Reviewed-on: http://codereview.qt-project.org/5944 Reviewed-by: Qt Sanity Bot Reviewed-by: Rohan McGovern --- configure | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure b/configure index ddcc3f8..a0ef3f9 100755 --- a/configure +++ b/configure @@ -6293,6 +6293,12 @@ if [ "$PLATFORM_QPA" = "yes" ]; then QT_CONFIG="$QT_CONFIG xcb-xlib" fi else + if [ "$CFG_XCB" = "yes" ]; then + echo "The XCB test failed!" + echo " You might need to install dependency packages." + echo " See src/plugins/platforms/xcb/README." + exit 1 + fi CFG_XCB=no fi fi -- 2.7.4